It happened while fighting a player and then tested after to reproduce. Might be other posts about this but oh well
Against Player
https://www.youtube.com/watch?v=1cJ0l4-ZFE4
Against Zombie
https://www.youtube.com/watch?v=YbJQpzQB4RQ
I assume its the same bug that lets you jump with barrels going on. This was on a modded server but still believe this acts the same in regular as long as you have the stamina when you go down.