Given a warning, you might be able to fly around it, but probably not over it.

Hail is formed in the updraft of cumulonimbus clouds (thunderclouds), which can easily reach 50,000'. The absolute altitude limit of a Boeing 727 is 42,000.

I guess sometimes there's just nowhere to run.

Sue