Educating people will hardly work. Bans on junk foods at government level might.
If educating people didn't work, we'd all be drinking cocaine soda and burning leaded fuel. I mean, there's a reason things have generally greatly improved over time for most of humanity. We know more things and act upon that knowledge. This applies to basically every single thing humans do. Maybe one day we won't be drinking sugar water and adulterating ~every piece of food on the shelf with high-fructose corn syrup?
In EU they banned the sale of oral tobacco (snus), which is safer than smoking tobacco. Snus once had cancer labeling but that was generally considered not-very-true and labeling was removed. Tobacco smoke causes cancer. Drug bans also built many overfilled prisons and likely contributed to the invention and spread of harmful drugs such as crystal meth and fentanyl. This is a one sided view of course. I like William Blakes work, "Auguries of Innocence".