This tax would be the same as a tax on firearms. It would tax anyone not the problem people.
Inevitably the end result - obesity is the problem not the food. Taxing fat people would be more honest.
To add to my post, it would be even more honest to tax those obese who are of ill health, since that is the end objective?
There are healthy fat people, at least for awhile.