The state of Alaska requires public school kids to do community service hours to graduate and the way it works here, I am pretty sure private and home schools are exempt.
I’d have no problem with it, as long as parents can opt their children out of the public school system. And, it would also depend on what type of community service is required...