I am the doctor, and I would say don't do it, especially not young babies. No medicine is guaranteed to be safe for everyone, and response can be unpredictable. Phenergan, for example, is contra-indicated for under 2s.
Incidentally, this may go for adults too. Mid-flight is a bad moment to...