I could talk endlessly about how being subject to a vicious abstinence-only sex education program left me with a number of insecurities and irrational fears about dating and sexuality. We were flat out told that if we acted on our sexual urges, we were perverts, we were told that we were weak if we "succumbed to our animal urges", we were told that having sex out of marriage kills your brain cells like drugs, we were told that sex for any purpose besides a married couple having children was essentially a drug like heroin or opiates. I was a very nervous teenager without a lot of social skills, so I ended up becoming very afraid not just of the subject of sex, but of women in general because I was afraid I might "lose control". Intellectually, I knew that that was a load of horseshit, but when you're subjected to that for 3 years (once for every year of middle school, 6 weeks of PE were replaced with "abstinence education") it gets into your head in weird ways and messes with the insecurities and anxieties that are already in there. Sex was this distant, intangible thing that I would never have and that no one would ever care enough about me to willingly be intimate with me (because only "sluts" do that), and I was led to believe that I was a pervert for wanting it. We weren't cajoled into "accepting abstinence", they spent 3 years basically conditioning us to be terrified of sex in the first place.
Porn is and should never be treated like any sort of substitute or representation of the human thing. But in a weird kind of way, seeing porn, being able to completely control what I would be exposed to and what I was ready for, in the comfort and privacy of my own home where I knew I could explore without being judged, it was almost therapeutic. Seeing people having sex and realizing it wasn't this huge deal but just a thing people do and being able to experience sexual pleasure that way helped me start to get through my anxieties when I stopped seeing the subject as such a frightening "other". It's okay to have sexual feelings, any person's sexuality is entirely their own business and shouldn't be judged, and sex isn't something to be afraid of.
I hardly recommend using porn to get over sexual or romantic anxieties and even less to use it in place of real sex education, but really just to "de-other" the subject if you're not ready to have sex with another person yet.
As for my moral position on it, I think porn and masturbation are just an aspect of normal sexuality, and on top of that masturbation has known health benefits for both men and women. Plus, some people use alcohol to get horny, and alcohol is way, way worse for your body than porn is. And just like with the risk of alcoholism, some people do unfortunately develop problematic porn use habits.
I will also say, to offer another personal anecdote, that I watch a shitload of porn and usually masturbate several times per day, and I'm doing very well in my life both academically (physics PhD student, graduated summa cum laude from college) and romantically (never had especially great problems with relationships, currently with someone I've been seeing for about the last year). My health is also excellent, I run 40 miles per week, work out regularly, 6'2", 160 pounds, only 7% body fat. So I think anyone who tells you it's this great ruiner of lives maybe needs to be taken with a pinch of salt.