The thing about using recreational drugs is that you never know who will become addicted and who will not, although there are some good predictors for addiction: having multiple family members with substance abuse problems being a strong one. I know a pair of brothers who experimented during their teen years, one who walked away with no pull. The other has probably used everything you can name, in addition to alcohol, for most of the last 50 years. It's catching up to him, hard.
Even with medically necessary, prescribed medications, sometimes an individual can become quickly addicted. That happened to a contractor who did some work for me. He had knee replacement and when he went off the meds after returning home, he became very, very ill because he was withdrawing. Now, I have neither his medical records nor a medical degree so I don't know if he was prescribed the appropriate dosage while he was hospitalized/in rehab for the knee. I do know that he's an extremely straight arrow and definitely not someone who abuses alcohol.
That said, sohy is right: my MIL was made to suffer without the use of opioids or opiates during her last year when her fragility necessitated her moving into a nursing home. She had become pretty salty in her later years, mostly because of increasing pain due to arthritis and osteoporosis. When she was in the rehab to help her try to regain function after a serious fracture, she was given morphine and was the same person I had known for more than 30 years. When she was moved to a nursing home, she tried very hard but the pain was not manageable nor would they give her anything but ibuprofen, which did nothing except leave her in agony while harming her organs.