yeah sadly his opioid addiction started like so many others; was hurt in an accident and prescribed the pills, which then started that addiction. I opened one of the first articles I found about how he got started, and his quote below hit me pretty hard. Imagine being only 14, taking your first drink and thinking "so this is how normal people feel all the time" (paraphrasing).
"I remember that day very well in Ottawa, Canada. I had never drank before. And we just sort of drank this entire bottle of [wine]," he said. "And I lay in the grass and just was in heaven. I thought to myself, 'This must be the way that normal people feel all the time,' and I thought that at 14."
https://abcnews.go.com/US/matthew-perry-opens-friend-struggling-addiction/story?id=92002832