That's like saying 'sleeping too much is the source of depression'. Viewing too much porn is a result of a different problem. Happy and healthy people aren't accidentally becoming addicted to porn.
Opiates are insanely physically addictive and you can easily accidentally become addicted to them using them as prescribed, hence all the lawsuits.
Well lucky for you, I didn't make that claim!