Real talk, I always try to talk to people through games. I know, it's commonplace, but some of my best friends were met through video games, and we still talk several years later.
Another go-to when I feel lonely is to listen to music and just zone out for a while, maybe while playing a game solo, maybe reading, writing, depends on the day lol.
I've also been there, the whole "go outside" crap from my parents, it sucks. They have no right to tell you how to live your life, so do what I did and ignore them. Be yourself, because you only get 1 shot at your life, make it count and do what makes you happy, however you may do it. I hope being here makes you happy, I'm new and I'm finding some joy in being here.