We did legalise opium by way of oxycontin and I'm not sure that helped reduce the scope of the problem. Arguably a lot more people got hooked on opium than ever before because something legalized has less stigma attached and is more easily accessible. Society has waffled repeatedly on the legality of opium and the effects of opium are a bit different than less destructive narcotics where legalization makes more sense.