Right this is the problem. We need to ban all opioid prescriptions. 80% of heroin addicts got addicted because of the opioid prescriptions obtained legally. According to the documentary on HBO, drug companies made $5B on opioids in 2014 but the economic costs were $55B.
If people have chronic pain, we need to be more progressive and allow medical marijuana everywhere. (There are also quite a few studies that show that chronic pain is not helped with opioids anyway.) If people are in the hospital or end-of-life/hospice, then give them morphine or whatever they need but we need zero prescribable opioids.