That's a great idea for a HIIT workout! I've done it on the stationary bike, running in place and with a jump rope, but never with the heavy bag, although I like to hit the heavy bag.
I will try that myself, but I will go with 1 minute intervals. I don't think I can keep up any real intensity for a full 5 minutes.