if the "bad thing" was voluntarily ingesting a chemical that state has no ethical authority to ban a person from ingesting into their own body then I would urge you to reformulate what you consider a "bad thing"
Drug Abuse can lead to all manner of actual crime (theft, Intoxicated Driving, etc) that has a degree of probability to harm OTHERS, this is where the states power can be ethically applies, when a persons actions can directly physically harm another person against that persons will.
However state power should never be considered ethical when they are attempting to "protect people from themselves" this mentality leads to all kinds of abuse by authority and create the very system that causes the issue you highlight