Desoxyn, Never give up on quitting, no matter how many slip ups you have. It's the quitting that counts.
I don't know how many times I've had a year sober, since I first attempted to stop drinking in 2009, but I've kept relapsing. My addictions Dr. says to look at it over the long term, that in the past 10 years, I've been sober more than I've been drunk. I still count consequtive days because I find it motivational. But I know lots of people who don't. It's whatever works for you.
It seems to me that not sleeping, is a major trigger for you, as it would be for me. Can you maybe take the risk of leveling with your Dr's, and ask for something for sleep. I know there are some non -addictive options out there.
Keep going and keep posting.
splitimage
__________________
"I danced in the morning when the world was begun. I danced in the moon and the stars and the sun". From my favourite hymn.
"If you see the wonder in a fairy tale, you can take the future even if you fail." Abba