My grandson was home-schooled for two years, from 14 to 16. He was enrolled in an online school and had lessons in the mornings in all the usual subjects,from qualified teachers. He followed the lessons sitting at the PC, with the screen as a whiteboard, asked and answered questons online, did homework and projects and handed them in by email. He could chat to the other pupils in his class (but not during lessons!) His father works from home, so he had company during the afternoons, or did his homework and followed his other interests.
At the end of two years he sat international bacchalaureat exams and passed them very creditably. He then had two years in a local sixth form, and went on to an honours course at Uni.
He has not suffered at all, educationally or personally, from being out of mainstream education for those two years. He has plenty of friends and plays a leading role in the organisations he has joined at Uni.
It was not cheap to join the online courses, but a lot cheaper than some private schooling, which was the other alternative. I think the secret is to have a plan to work to, so as to cover the ground that has to be studied, but be ready to take advantage of any opportunities for widening their interests and circle of friends.