I'm friendly with my coworkers, and some I may even call friends, but I certainly don't need my job to be able to make friends wherever I live. I can do that without the company stepping in to do the decision making for me. Companies all argue we should all be family, and my coworkers should de-facto be my friends, which is wrong to assume.
If you mean peers as in coworkers, well usually most people are just assigned to teams. So you meet people through that and eventually get to know them, remotely or in-person, doesn't really matter imo. I'm relatively close with plenty of my coworkers whom I've only met a couple times in person over the course of 2-3 years.
Also when we lived in the same city, we would meet in physical locations for a beer and a burger.
Now that I don't even live in the same state, we make plans to fly to each other's cities and get together. We'll also carry over convos to Slack or Telegram and phone calls.