I have a similar experience but with alcohol. Although not a raging alcoholic or anything, I was a problem drinker. I made insincere attempts in the past to quit but always started again. Recently, during a long walk through the woods, I made a promise to God that I would quit my negative drinking. I was very careful about what I promised tho; I did not promise to never have a drink again in celebration with friends or take wine with communion or anything like that, I just promised to stop the negative drinking like drinking alone or because I was sad/lonely/depressed. I am sure God heard this heartfelt promise and I for sure will never break it.
I promised temperance.
Good luck, friend.
EDIT: Lol i just realized i responded to a post from 2014. oh well, still happy to share 😇