You won’t prevent it without (or even with) unacceptable restrictions on free speech. Those models have a right to exist.
But you can raise the barrier to entry so people will need to run their own service to do it. You’ll make a crazy dent in middle school kids spreading fake nudes of their classmates if they can’t just use a managed online service.