A few times my parents hired tutors for subjects I was struggling in, and I remember that suddenly I found myself enjoying them. I think I would have benefited greatly from being homeschooled, but of course at that time it was unheard of in the UK. I know it's not for everyone. There's no perfect answer. What's certain is that there's nothing 'normal' about sitting in a room with 30 people who are exactly the same age as you, plus one official authority figure.
So school certainly 'socialized' me, but not in a good way.
It wasn't entirely bad. I got a reasonably good education, and some of the teachers have left a positive impression. Overall though it was horrible.