Easy solutions and shortcuts seems to be the norm when it comes to advice. But as usual with these things, the grown-up advice aught to be kept in mind; remember to try all the low-hanging, boring, solutions first, like diet and exersize, before you go on experimenting with stuff like high doses of this or that substance. If willpower is the problem, tackle that instead. (There are plenty of books on the subject.)
Quite often people suffering from a specific nutritional deficiency or cognitive imbalance can go for years beating themselves up over their inability to get an exercise/salad/meditation habit on track, until they get on a substance that ups their baseline condition enough that they can establish these habits. I've seen this happen for people taking one of vitamin D, methylfolate, magnesium, Adderall, or anti-depressants.
Your advice is correct for most people, but anyone who has made honest efforts for years to pick these low-hanging fruits and failed consistently with a shelf full of books on discipline to show for it, should also do their research and try to find a doctor that leans towards an integrative approach or is young and still curious, who will also explore your genetics, experiment with medications, and order a wide-range of blood tests to see if anything is out of range. It's important to monitor improvements and side effects, and it's better to not do this yourself.