How far off frame do you think the photographer’s assistant is, ready to pick up the child at the first sign of trouble. And if the kid does roll over, it is not gonna be into the deep stuff, which would require her somersaulting forward.
It might not be the safest thing in the world, but assuming some basic off-frame precautions, I don’t think it is any more dangerous than a lot of everyday at-home situations.