Quite so. And many states prohibit fraudulent medical treatment for adults. Such prohibitions are common. You can't hand a sign out, for example, and offer Ivermectin horse de-wormer to the general public as a cure for covid. You'd go to jail.
Conversion therapy is every bit as ineffective and dangerous. It won't "convert" you, and it might kill you.