For whom are you acting?—-object of preposition, so it is objective case.
But what if you want to end the sentence with a preposition?
Who are you acting for?—-This one seems correct because it is a linking verb, so it should be the nominative case
Whom are you acting for?—-This one therefore seems incorrect, but in the first sentence, it is WHOM.
I’m almost certain it’s because of the question form. That is, the verb ‘are’ has been moved infront of ‘you’ but it actually isn’t a linking verb; it is a helping verb: are acting
