There are a bunch of health issues that can be discussed, but I want to add some stuff in about other parts.
Watching porn lowers conscientiousness, which roughly speaking is being vigilant, careful, and wanting to do a task well. It's like the opposite of being easy going. It's responsibility.
Growing up with an alcoholic and a crazy family means nothing gets done well, no attention is given to detail, you are not well cared for.
I would put money on you being a very conscientious person, and the porn/masterbation was a way of lowering that urge in you when it was very painful to have in your childhood.
Now that you have grown up and have more control over your life, you don't need to lower that trait anymore, plus in general you just have less energy to deal with compared to your youth. But sometimes that conscientious trait rises and makes your life feel BAD. You can't stand it...it's some type of energy, like depression or anxiety or whatever, and the pron makes it go away.
The solution is to channel your inner vigilance. No more porn, not more wanking, only real girls. When you get the urge, build something, improve something, clean your car, just bring order to something. The more you embrace the order of masculinity the less you'll have to worry about this stuff.
Anyways, that's my take on it, hope it was accurate.
I think you understood the picture I was painting as I was growing up.
While I don't think it's a problem anymore - I do think there is merit to your recommendations. Ultimately, I'm still trying to figure out what impact this had on my body/mind long term.