Heck, even though I write about war, I'm very careful about showing corpses of full grown adults. I might show a part of the corpse and the living people around reacting to make it clear that the leg hanging from a tree or a hand dangling over a bedside belongs to somebody who's died.
As for children, yeah. I will never go there. In one (unfortunately unpublished) work, I wrote a story about a child who was wounded in an IED attack and died, but not before wrapping everyone in the field hospital around his little finger. In that case, in my writing, I had the artist focus on reactions, like a mother howling in grief, held up by hospital personnel who are also in tears.
But I also write about real people, so in depicting their deaths, I have to be especially sensitive.
I learned in EMS that emergencies involving children usually are critical stress incidents. Because most of us have children of our own. Losing a patient is hard enough. When the patient is a child, especially a baby, it especially hurts, because adults having to bury children is fundamentally out of order. It should be the other way around.
I've been known to have a gift for helping pediatric patients. I've helped calm a combative patient, I've splinted sprains and broken bones, I helped revive a blue baby (and blue baby calls are the stuff of nightmares, because they're usually DOA), and I've even held a tiny body in my hands and handling it relatively well... which still isn't good. I still cry when thinking about them, especially the last case.
However, I think you could do this well depending on how you write the kids and deal with the subject of death. Are you going for dark comedy? Are the kids written (as they often are) like they're miniature adults? Is the Grim Reaper a character, perhaps the butt of jokes?
In that case, go for it.
.