I’ve always thought that J. K. Rowling did an excellent job of critiquing the school bureaucracy in the fifth Harry Potter book, Harry Potter and the Order of the Phoenix. Her last book, Harry Potter and the Deathly Hallows, includes a justification for homeschooling. Once Voldemort takes over the Ministry of Magic, he makes some changes in education policy.
“Attendance is now compulsory for every young witch and wizard,” he replied. That was announced yesterday. It’s a change, because it was never obligatory before. Of course, nearly every witch and wizard in Britain has been educated at Hogwarts, but their parents had the right to teach them at home or send them abroad if they preferred. This way, Voldemort will have the whole Wizarding population under his eye from a young age. pg 210
Homeschooling is a sort of canary in the coal mine. When the right to homeschool disappears, we are well on our way to an authoritarian state.