Probably more a fault of your doctor or the laws. There should be limits on that kind of painkillers, especially if you use it first time. If the doctor restricts the amount to a few days' usage, potential misuse is much easier to detect.
They could start with mandated patient education on the effects and addiction potential of these drugs, as well as a treatment plan to taper off. I had a severe injury in late 2013 and received neither of these things. We should work on the basics before pushing for more restrictions.
To expand: I had maybe 4 different doctors writing me RX for pain meds at the time and none of them were coordinating. I remember having far more drugs than I needed for the first few months -- I had prescriptions to spare. This is because I had several doctors treating me but again, none were coordinating.