If you go on a fad diet, lose weight, then gain it back when you stop, well, you haven't really lost anything other than time.
If you go on semaglutide, lose weight, then gain it all back when you stop, you're out thousands of dollars, I'm out money when my insurance premium goes up to support the new expensive drugs, and you might have permanent health complications (rare though they might be).
I haven't heard any success stories of people keeping the weight off after they stop taking it, though I've heard plenty of people gaining everything back, and being miserable from the side effects while they were on it.
If semaglutide worked as a stopgap to help you get to the point where you could manage your weight on your own, I think it would be hard to argue with it. So far, though, I've had people tell me that it should be treated as just another vitamin supplement that you'll be on for life, albeit one that costs $12k a year or whatever the case may be.