This is nearly perfectly wrong.
There’s nothing in these drugs that makes you lose more muscle than fat, you don’t lose any more muscle than if you do a regular diet, not even slightly.
Second, the drugs don’t do anything to cause you to gain back mostly fat, and people going off them have more success, not less, than your average person who loses weight rapidly whether through diet or other means.
The average person who is 50lbs overweight because they gained 5lbs a year for a decade will lose all of that weight within 6 months with nearly entirely positive side effects, and if they stop taking it, will regain a bit less than they did before, meaning it would take another decade to get back to where they were. That is unequivocally a huge net positive.
It’s not like Testosterone which does have dramatic negative effects when taken long term and can cause dependency.
It also happens to be extremely effective at reducing bad habits, and yes those habit changes persist after quitting - not perfectly, but surprisingly so. This even works for smoking, drinking, and gambling.