Drinking when alone


When I find a window of time to myself when others are not around I feel the need to drink or sometimes overeat. It is like I am getting away with something but clearly the negative outcome shows that it really isn’t a secret. I would like to figure out what am I looking for/what do I really need that the drinking and eating is solving for me temporarily. How do I get to the root of it? I don’t think it is to relax or relieve boredom. But don’t know what it is and I feel I need to know so that I know how to solve it differently.