That's certainly possible.However,I can't see how that really explains anything.For example,my cousin grew up in a household where his father (my "uncle-in-law") had a serious alcohol problem.He said that many of the particularly bad things that happen is such homes didn't happen in his but he said it was still pretty difficult.He told me that,having watched his father,he vowed when he was 8 never to drink booze.And 60+ years later he's kept that promise.No booze...no drugs.
I’ve only seen the statistics - many pedophiles were themselves victims. Its not to say it as an excuse, its a heinous thing.
I agree with you - the ones who are strong and who have good self-awareness are those who will actively work against those behaviors which hurt them.