I had given up chewing (tobacco) several times. A hard habit to kick. Unless you bite off more than you can chew, there is no need to spit. (I used to fly with an oxygen mask on and a chaw in the cheek.) A far more sociable habit than smoking, and a strong nicotine hit. I had likewise given up drinking several times.
About three years ago I was starting to get into shooting and had the hots to get a glock 31, something I could no way justify. The concentration of target shooting at an outdoor range I found to be an excellent diversion, good relaxation; a mini-vacation.
I made a bargain with myself to get the Glock, but no more alcohol or tobacco. From time to time I add another firearm to the collection, or something for the reloading bench. If I find myself getting stressed out about something, or thinking of a scotch-on-rocks, I begin to plan what to work on the next trip to the range, or what new load to work on.