The only "solution" is the cigarette model, all food now has an "added sugar" nutrition label, add a dollar to price for every added gram.
Those dollars go towards health care fund for sugar based diseases.
If you don't eat sugar-added foods, great for you and you don't pay for it. Just like the cigarette model (except goverments siphon cigarette taxes for everything except cancer/copd treatments).
Manufacturers will then also make low or no sugar foods that cost way less because they don't have any taxes.