Yup, that'll happen.
What's really interesting is it could happen with the cup of coffee. See, sometimes if you heat water fast enough it doesn't boil. The top stays perfectly calm, but the heat is building under the surface. And when the surface is disturbed it ruins the perfect balance and the whole dern thing explodes in one big pop.
I was heating a cup of coffee for my grandmother just a few weeks ago. Put it in the microwave and set it on 2 minutes, because she likes her coffee really hot. The microwave ran for two minutes, then it beeped that it was done, then I heard a BANG! Opened the door and there was coffee all over every square inch of the microwave.