As someone who has only recently accepted that they have a problem with alcohol and quit...
You can't quit drinking any time. If you could, you would have. You wouldn't be writing this. You would have stopped drinking when you first realised that you behaved like this when drunk.
You have an alcohol problem. The term "alcoholic" is unhelpful as it can refer to so many different alcohol-related issues, but from what you've written, I don't think it would be unreasonable to refer to you as an alcoholic.
You sound like me for years, trying to convince myself that if I could just drink LESS, if I only didn't buy more after I've had a few, if only I could regulate my drinking or change my behavioir when drunk etc, then everything would be okay. So desperate just to not accept the obvious - that the only option is to quit drinking for good. You need to quit drinking. Nothing else will save yohr relationship. And if your relationship breaks down, it will all go downhill from here. You'll drink more. You'll destroy other stuff, maybe your job, your friendships, etc.
If you drink to deal with pain (and it sounds like you do) , and if you can't stop drinking even when you're at risk of destroying something, which will then cause you more pain, and lead you to drink more, you're on a slippery slope.
The very first thing you need to do is accept that you have a drinking problem and it really doesn't sound like you're accepting that quite yet? Until you accept that you have a drinking problem, you can't start trying to fix it.
At the moment you see that your behavior when drunk is a problem, but seem to be deluding yourself that you can quit drinking at any moment, which, if it were true, you'd already have done.