I was homeschooled and I truly believe it was a major factor to getting me where I am in life. With that said I’ve also seen homeschooling gone very wrong.
I think the major component of it being a great experience is the motivation of the parents for doing homeschooling. Teaching kids at home to intentionally keep them from society and indoctrinate them in some specific ideology, usually religious, can be very damaging, not necessarily because of the religion itself but because sooner or later the kid/adolescent/adult will meet the wider society and have no tools to deal with the diversity found in it. This, btw, doesn’t only happen in homeschooling but is how root of racism/sexism/etc are planted.
In my experience, and what I hope to accomplish when/if I get to homeschool is to create an space where the child can pursue her interests, nourish/encourage curiosity and use it to teach instead of ignoring it an teaching some other boring thing the kid has no interest in as sadly is often done in school just from the fact that a teacher can’t pursued the interest/curiosity of 30 students at the same time in one classroom.
Regarding the social aspect, there’s soccers, orchestra, martial arts, ymca swimming, inviting friends over often, 4h, Boy Scouts, and so many more opportunities to provide a place for the kid to socialize while hopefully minimizing the toxicity usually found in public schools.
This is by no means a critique of public schools, I think is a sad reality of our society that all we can afford for our kids is an assembly line education with very little space for diversity and with one size fits all measurements of success.