Obviously it's been overprescribed. Old school doctors likely still do prescribe it too easily. And new docs often plainly refuse to prescribe it at all. The solution doesn't have to be black or white. Doctors have the ability to limit the number of pills per month a patient can get, imagine that! It doesn't have to be nothing at all vs as-needed-which-means-the-full-30-pills-every-month-inviting-the-patient-to-start-taking-it-daily. It can be "give 5-10 pills per month".
That way the doctor can monitor the patient needs more closely and effectively prevent both addiction and tolerance from developing (to preempt: no, most people cannot in fact easily source it from the black market, and doctor shopping is no longer a thing for controlled drugs thanks to the opiod crisis).