Permitted. I think that they probably can’t force the kids to do it.
But since when can a school prohibit a child from reciting the pledge if he/she wants to?