As long as those values do not override those of other parents, go at it.
Parents should always have the right to remove their child from a situation they do not agree with. They should never have the right to tell other parents or teachers how to teach other children.
Oh of course, I feel like it goes without saying that this is in reference to young school-age children.
My personal opinion, would be that the age cut off for where a child’s rights supersede the opinions of their parents would probably be 13 or 14.