Perhaps the only thing one might claim that isn't heretical, though you might be skating on thin ice ... is that after these infants are raised from the dead, they will be baptized right before the consummation of the world, similar to what many Church Fathers believe happened to the just in Limbo. Certainly not revealed .. but then Limbo Infantium isn't revealed either, and I can't think of any doctrine / dogma it would violate to speculate along those lines. If someone has a counter-point, I'm all ears, but I can't think of anything. And one needn't redefine words like Salvation and Hell.
You could speculate that for those who are dying, God could bilocate some Catholic to baptize an individual, or send an angel to baptize, where just a tiny drop of water would suffice. St. Cyprian said of his theory regarding the Baptism of Blood, that the martyrs were washed in their blood while angels pronounced the words. God can pause time, provide an interior illumination of faith, bilocate some to the side of a dying person to baptize etc. etc.
There are a thousand ways you could speculate ... but WHY IS IT THAT SO MANY ARE LITERALLY HELL-BENT ON DENYING THE NECESSITY OF THE SACRAMENTS FOR SALVATION.
We're taught about the Sacraments that they are necessary, by God's will, because we are both body and soul. We're taught that we receive the character of Christ in our souls nad the DNA to become members of Christ's Body, and therefore to be saved. This character or seal is not just a badge of honor or some non-repeatabiliity marker that some people in Heaven have and others do not. It has some ontological importance, and that importance is that it actually gives the human soul the supernatural faculty that it lacks by nature, i.e. to see God as He is, supernaturally.
To what extent God works in an ordinary manner, to what he works in an extraordinary manner, we do not know ... but there's absolutely no reason to somehow claim that God is restricted by impossibilty. He orchestrates in the most amazing and wonderful manner, by His Providence, who gets born where, to which parents, at what time and place, etc. ... so that if there's a reason that somoene was born among animists, this was not happenstance that God somehow must make exceptions for. This is what St. Augustine, in rejecting BoD, complained about, where people gave all this power to accident and chance and happenstance ... almost as if they barely believed in God.
That's to say nothing of the fact that belief in BoD has saved absolutely no one. As Father Feeney famously put it ... if anything it weakens any desire someone might have to be Baptized. Just think about it. If you believe firmly and without exception that you need the Sacrament in water to be saved ... how ardently you'd burn for it, and beg for it, every moment of every day, until you received it. But if you have the attitude of "meh, BoD will save me." Are you really even desiring Baptism anymore, or just the desire of Baptism. There's no Baptism of the Desire of the Desire of Baptism.
It's just so idiotic, so faithless, where people who think thish way ... I have to wonder if they even believe in God, and His Providence.