In general, I believe that a child should communicate with children and it will be more comfortable for him to study in a regular school. But if you have any problems, then you can study online. After all, distance learning is very popular. Even I started learning math online with online courses https://www.distancecalculus.com/. I want to say that the distance course from Roger Williams University was very interesting for me. I learned a lot for myself. And about distance learning for your child, it's up to you!