If you take properly prescribed opioids it is unlikely you get addicted, withdrawal symptoms or die. Those are issues stemming from miss use. Personally induced or by a careless physician. The exception is in palliative care and chronic pain where it still beats the alternative.
Apparently you get SSRI withdrawal from normal prescribed use. And its not surprising if you consider how long people have to take antidepressants.
I am a bit shocked, that something as commonly prescribed as SSRI have such severe withdrawal symptoms from normal use. Of the top of my head, i dont know of many kinds of prescription drugs that cause a withdrawal once you finish your regiment.