I get really lonely too. And I have the love of my family. But I've lived alone most of my adult life and sometimes that gets to be a bit much (I'm 62). Like you, I could just hide inside my house for long periods of time. I do have quite a few friends, but not around here. Thank God for the friends I've made here on the internet.
I could suggest things like...online dating. Only..lol, I wouldn't do them myself so what's the point.
You have a whole lot of life ahead of you so hang in there!