You mean the immorality of sexually exploiting other people without their consent?
Or is the problem here is the fact that such imagining was "commissioned" to a third party (I believe I have seen this opinion somewhere long time ago)?
Of course not. But that's a universe apart from producing and distributing sexual images of unconsenting others.
https://www.citizen.org/news/two-thirds-of-states-enact-bill...