The food mafia won't like this though so they'll lobby for laws to avoid it.
I tend to conflate the food industry with the food mafia though, and I'm highly skeptical of the long term prospects of civilization if we pursue our growth-based economy.
Resources on earth are finite, efficiency can't rise past (or approach) 100%, and the amount of entropy we generate today is already too high for the rest of the biosphere, leading to its collapse.
When it comes to stripping people of their cash, the competition is fierce, and we humans are usually not very good at long term thinking.
Guilt- and shame-based marketing is not very effective (boasting health/societal benefits is indirectly guilt tripping people), less than hey look at this shiny $product that would make you sooo cool among your peers. Shiny! Buy now! And don't get me started on addiction-based products, like junk food (or screen-based products, be them games or serial TV shows).
So government would need to subsidize healthy food similar to the way it is subsidizing green energy (electric cars for example). And probably tax fast food so that kind of business becomes unprofitable.