Why not? People take depression meds, blood pressure meds, all kinds of meds for their whole life. I'll be on omeprazole for reflux my whole life. It doesn't solve the underlying problem of my gut being prone to overpumping acid into my stomach. So omeprazole is problematic?
The underlying issue is being treated, it's treated by taking the drug. It works. It's doing its job.
I'd be curious as to how you came to this conclusion.
I think there's a distinct difference between taking medicine for things you can fix on your own (diet + exercise) vs things you cannot (excess acid production).
If they were a normal weight they would not have been prescribed the drug. The underlying issue is they're overweight because they eat too much. Anything more is speculation.
There is usually no free lunch when it comes to pharma, and extrapolating long term or lifetime dependence as being equivalent to short term interventions is an unsupported leap.
If you can find a way to use your own free will and self-discipline to stop the bad condition then that seems preferable to using a drug. Maybe someone doesn't have the willpower in which case it's good that we have the drug.
With regards to omeprazole, I changed my diet a bit and no longer needed the omeprazole. I don't know exactly what it was, but if you can get off of a drug because you don't need it anymore that seems ideal.
No, the symptom is being treated, not the underlying issue. And that's ok, but treating the underlying issue, when possible, is better, as the problem ceases to exist.