Instead, impose a tax on junk food, like we do cigarettes. We don't tax smokers, do we? So we shouldn't tax the obese based on their BMI or any other measure.
Imposing a tax on obese people helps no one and may even make the problem worse. Offering incentives may be a better way to help people get fit and lose weight and to lose weight sensibly and slowly.