the similarities are far more numerous than not.
porn/masturbation addiction targets the pleasure receptors in your brain and excites your brain to release dopamine.
heroin does the same thing but "louder".
you're not addicted to the drug, you're addicted to the dopamine rush and feelings.
edit: downvote all you want, doesn't make my comment any less factual.