I kinda had a similar thing going on till a couple of months ago.
I frequently felt like when I was sitting where everyone was, I didn't belong there. I wanted to be alone. For some time that was pretty much me being me. I started thinking that the only friend I need was myself. But I was wrong.
(It gets a little philosophical here, I'm sorry) I think it's okay to feel lonely or solitary.but companionship is a great thing. I think humans and animals are bound to find companionship. If you think it's hard to make friends (like I did), start small and talk to someone you used to talk to.
I'm here if you ever wanna talk about anything my dude.