I feel like the idea social media prevents socializing in real life is a bit of a straw man.
I've made many friends over the years through platforms like Instagram, some in countries I don't even live in, and we've met many times in person.
Of course that won't necessarily work for everyone but the point I'm trying to make is that social media isn't some one way street that won't return value.
There's social media, and then theres "social" media. Someone veged out to tiktok or instagram reels is not socialising. They are trapped in an endless state of scrolling slop.
We probably need some laws or regulation that strip out the random algorithm selected junk from feeds and return it to just posts from your friends and family.