It sounds like you're looking for ways to keep drinking but without the inevitable consequences.
Only a medical doctor who has experience in addiction can answer your question. And even then, I doubt that they'd advocate using habit-forming medication to stave off alcohol withdrawals.
For what it's worth, being sober is anything but sad for me. What was sad was the endless cycle of drinking + recovering from drinking, which had totally taken over my life.
Welcome, and stick around and maybe read some other threads. Lots of good people and info here.