If the government followed a model like Portugal, decriminalized drugs and treated drug addiction like a health problem, the cost of doing so would be roughly 1/4 the cost of what is spent on enforcement, court costs and incarceration of people who are drug addicts. Not to mention the other associated crimes like theft, etc.
You are right if this happened, the cartels would crater financially pretty quickly.