I always do this on an aeroplane when my ears fill up with air pressure.
However, I read that doing this actually affects your heart rate in some way. I'm not saying I'd do this, but if you popped your ears continually, would it have some adverse effect on your heart?