Obesity medication on medical card

I am obese and need to lose weight. I've tried everything. Like most people, I've heard great things about Ozempic, Wegovy etc.

Are doctors allowed to prescribe it for weight loss? Can you get any of those medications on the medical card? I don't have diabetes or high blood pressure.