I actually think this is a valid question. I recently started Time Restricted Eating (TRE). I eat my first carbohydrate of the day at noon, and my last carbohydrate of the day around six pm. This creates about five waking hours in the morning when I'm not eating and about four hours in the evening when I'm not eating. The morning fasting isn't hard, but not eating in the evening creates a feeling that is a lot like loneliness! We live in a society with an epidemic of loneliness, and many people, including myself, tend to use food as a substitute for healthy relationships with other humans.
Anyway, I just wanted to say that what you are feeling is valid. As far as a solution, that is harder, and gets into Psychology. There are people on this board who will jump on my ass if I started talking about psychology, because that isn't the subject of this board. I'll just say, take walks, join a book club, get away from your computer, meditate, get blue light bulbs for the morning and blue filtered light bulbs for the evening. If at all possible, get away from chat boards like this one and find real friends. Read the book "lost connections".