If diet and exercise as an intervention were subjected to approval as a medical treatment they would never be approved. As a medical intervention they are rarely effective and when they are the effects are almost always temporary and relapse is worse than the original state. It’s about as effective as teaching abstinence to treat alcoholism or opioid addiction - but abstinence isn’t an option for food addiction.
The original proposed mechanism was probably wrong, these drugs probably make you change your diet. Or at least eat less, obviously you have to be concerned with nutrition.