I think it would be ok as long as they know it’s metaphorical. (and not to get theological, but a rather imperfect metaphor-- it’s never comprehensible why a “sacrifice” is necessary.)
albeit, it really depends how old the children are (should be 12+).