In the US, homeschooling would be an option. However, although there are many resources each state has different requirements.
Attending schools in different communities? Public schools have residency requirements. Some private schools are likely to be more flexible, but that flexibility comes with a cost.
As a parent, I would suggest that online schooling for so young a child is not among the approaches I would recommend as anything more than a supplement to an in person educational environment.