Of course! I mean, yeah, sure, taxes on unhealthy products may increase the average health of a population, which results in reduced healthcare costs, greater economic productivity by reducing worker sickness, and may save thousands of life-years across the population and increase their quality of life. But does that really justify the state taking a percentage of the price I pay for a pack of cigarettes?
So your gripe is with the type of state intervention?
Non-sugary foods and drinks are already heavily subsidized - like all agriculture - and that's something necessary to maintain food security. People still choose the unhealthy stuff.