It really depends on the situation. Do they have cousins near their age nearby? Are they involved in an active youth group, scouts, community sports, etc.? Is there a large homeschool community in the area? If there are more kids in the same boat, it can be easier for them to make friends even if they're not in school.
My niece is an only child and was homeschooled for a few years. It was right for them for those years, but I was glad for her sake that she went back to school so that she could make close friends her age. She didn't have cousins nearby, and since everyone in the neighborhood was busy with school activities, it was kind of rough for her.
If I had an only child and I really wanted to homeschool him or her, I'd really look into homeschool coops. (I taught foreign language at one for awhile and felt that it was the best of both worlds.) The kids meet once a week and learn things that parents often have a hard time teaching like foreign language, advanced science, etc.
I hope this helps a little!
"...for the happy heart, life is a continual feast. Better to have little, with fear for the Lord, than to have great treasure and inner turmoil." Proverbs 15:15b-16 NLT
If you lose hope, somehow you lose the vitality that keeps life moving, you lose that courage to be, that quality that helps you go on in spite of it all. --Martin Luther King, Jr.
The pessimist sees difficulty in every opportunity. The optimist sees the opportunity in every difficulty.--Winston Churchill