One way to look at that is that you're saying any market-based solution strong enough to be effective is indistinguishable from an outright ban.
We could, for example, discourage smoking by putting a $500 tax on each pack of cigarettes. But at that point, you may as well stop pretending and ban it outright.
Another way to look at it is that bans are fair because they apply to all people equally. Taxes unfairly punish the poor who have less discretionary income. (A $100 tax on cigarettes would drive most of the working and middle classes to quit, but there are certainly a number of rich folks who would keep on lighting up because $100 means little to them.)