You can do it, I have no doubt.
You mentioned boredom is your trigger. It was mine to at the beginning, back when I still needed a reason to drink, but I created my own boredom.
I work free lance so I can work when I wanted to.
Rainy day, drink. Too cold, drink. Don't feel like working, drink. Ad infintum.
Then it got to the point where I didn't need a reason.
Again, I created my own boredom as an excuse to drink.
There were a hundred things I could have been doing. What a wasted life I lead for so, so long.
Now I create things to do. And I'm very seldom bored.