There are two kinds of directives in religion, one which relate to explicit prohibition of something and second which are given as sadd-e-zariya (blocking the means which may lead to actual prohibitions). The latter can sometimes be mentioned in the primary source itself and sometimes, a scholar may advise it considering the overall framework of religion. However, the distinction between two should always remain clear and presence/absence of certain conditions may lead to removal of the latter.
The Primary prohibition in matter of ethics has been mentioned clearly in Quran (7:33):
Discussion 1749
Any thing/act which contains these elements is considered Haram (prohibited).
There are many activities which do not directly fall within the clear ambit of the above mentioned prohibitions but may or may not lead to such acts if one indulges in them. The same is the case with Acting as a prostitute and acting which involves polytheistic acts. There is also a difference in sensitives of both acts considering their nature and how they’re committed.
Since polytheism has it’s essence rooted within a person, it is not just the act, but the actual rationale behind that act which makes it polytheism. Therefore, when one acts in any such role, that person being a Muslim, does in no way believes in that as his/her part of faith. However, being a God fearing Muslim, one should try to avoid it considering the sensitivity of religion towards polytheism. But if one absolutely has to do it, it can be tolerated but with the same caution. Same was the essence of reply by Ghamidi Sahab in case of PUBG and acting in a polytheistic role. In some videos, he emphasized one point more than the other.
Regarding role as a prostitute, as opposed to polytheism, an act of intimacy has its very essence in the very act, therefore, commitment of any such act tantamount to commitment of the actual prohibited act itself. Therefore, the level of risk and sensitivity increases in case one opts to perform any such roles. Therefore, a God fearing Muslim should be very conscious about such roles and its better to avoid such roles.
What one person does or is supposed to do has no bearing on other person’s acts. As long as one is himself/herself not involved in any immoral activity, there is nothing wrong with pursuing acting as a career.