That's a clever idea, similar to how some cities not only just punish who engage in illegal street racing, but they also punish spectators as well. It will teach people to be careful who their friends are.
Also, persuade mayors to abolish the public school districts in their towns, since private school students and homeschooled students usually outperform public school students. Those towns can spend the money on other priorities and/or cut property taxes by up to 70%. If enough mayors abolish their public school districts, invite them to the White House for a "Homeschool Haven Mayor's Conference".