Jonah was in the belly of a whale, and scientifically this is actually possible to survive from so it happened. You can apply all the allegory you want and that can be beneficial, but at the end of the day Jonah literally was in the belly of a whale. It's nice to observe scientific phenomenon like the parting of the red sea is actually called wind set up and wind set down. You can even turn a snake into a stick as you can train the snake to behave like a stiff rod.