If you're hurting a real person by making naked pictures of them against their wishes, that should be what the law prevents. No matter what tricksy means you do it with. Whether it's photo manipulation, AI, or really skilled photorealistic oil painting, is immaterial.