Addiction and other disorders are common among people with terminal or not-so-great prognosis.
Or maybe his death was an outlier .pain meds are well tolerated by most people.