I don’t think you are allowed to do that.
I’ve taken my little Sons with me to vote a few times to show them. Never a problem.