welcome to SR!
I think I was drinking to deal with my anxiety and self medicating. When I quit I started exercising and that helped a lot with anxiety and also helped me sleep.
I didn't quit drinking until 35. I wish I quit at 25! You could always make a doctor appointment and talk to them about the anxiety.