If you want “diet in a pill” then the GLP1 class of drugs are it. I advise eating a good diet while using them for best results.
The same applies to these “exercise in a pill” substances like SLU-PP-332.