Pedophilia can be something you're born with. It's not an addiction, although pedophiles can be sex addicts and are often given addiction-type treatment. As a sex addict, I'm convinced we fail these people in ways that increase our risks.
My buddy prefers gambling to every other substance or behavior, including sex, food, and sleep. He's lost count of how much he won, but it's less than what he lost. Now, in middle age, he says he's over it.