The reason you crave trash is because you don't sleep well. This is a must watch for everyone:
Your ghrelin levels goes up when you don't sleep well and your body tries to make up for the lack of sleep with more calories.
Relying on a drug because you can't control what you eat is silly. You're a man and should be able control yourself, you're not an emotional girl on her period.
Do heavy workout with weights and eat good food according to what a standard calories calculator tells you. 2500-2700 is good enough for most guys working out regularly.
Then you can indulge a bit in the weekend like most of us are doing.
And, as a general piece of advice, trust doctors up to a certain point. You're in charge of your health and there are tons of info out there these days.
Doctors ineptitude created a whole bunch of health issues in my case, and I would have been way better miles away from them.
I'm on TRT for life thanks to the idiot doctors paid by pharmaceutical companies to prescribe finasteride for hair loss.