I went for about 22 months without ejaculting once, not counting wet dreams. I also went on a "absolutely no porn on purpose" binge, after a while; it excluded if I was re-directed from a site I didn't want to be re-directed from, though I wouldn't stay at the site. It was difficult to stop jerking off, and most of the difficulty was in the first 6 months. I felt I had to continue. It was because I felt tons of self hate, and large enough thoughts of suicide to be of concern. I went through with it from Jan 2nd 2016 — November something 2017. It can be done.
Here's a link to a thread I participated in, then. I'm "101volts" there: Link.