There's already some good advice in this thread, but I want to add more.
This will indeed be very hard, but I'd urge you to take a long-term and positive forward looking approach.
It sounds to me like you don't have the best family/friends social structure to depend on. I'd focus on building that. It will take time ... and it won't happen on your schedule. The cold hard fact is that you have to put yourself out in the world in social spaces and be open and vulnerable. This is often why shared hobbies are recommended. But the hobbies aren't entirely the point. The point is that you're engaging in the real world with real people and learning to be open and vulnerable in that environment. If you embrace that (truly embrace), the friends and relationships will eventually come. But, it may take a long time. It's a long game. But its worth it.
In the short-term, you can find ways to cope. For me, I got REALLY deep into ultra-running after a bad breakup. It helped. But, it was seriously just a cope for not having the foundational social structures that everyone needs.
In summary: find healthy short/medium term coping methods, and invest in building longer-term social connections. And expect it to take some time. Give yourself grace. You're doing a hard thing. It's okay for it to be a struggle. Just keep working on it and you'll get through it. I've been through this. It gets better, I promise!
Good luck. I'm rooting for you!