You mean like alcohol and tobacco?
Yes, but it wasn’t legalized per say for taxes so much as it was in response to the voters who demanded it overwhelmingly. There is no such outcry from the public to legalize it like there was for alcohol.
You also make the mistake of forgetting the culture of our society that has always had a nose turned our towards drugs, but not alcohol.
Societies that have always had drugs legal, have always been third world cultures, and that is where we are headed in America with the trend towards legalizing everything that has been considered immoral in our culture.
Remember, alcohol has never been immoral in our society, the behavior of those who get drunk has, but not the source of their behavior. Strange reality, but it is a fact.