If all of the long-range missiles fail to neutralize one side of the other and both forces opt to continue the engagement, you get to WVR (within visual range) where infrared missiles and—once those are spent—guns are employed. There could be opportunities here where such a trick might be useful, but only in a 1v1 scenario. For any case where you might have two or more enemies to deal with, such an abrupt loss of energy is suicide. And if you’re on the side with superior numbers, the odds are overwhelmingly in your favor with little chance of you being defensive in the first place. And in the 1v1 scenario, modern infrared missiles like the AIM-9x (which are effective even when launched at frankly ridiculous off-boresight angles) make such a maneuver suicide as well.
So it might, might be useful if: both sides empty their long/medium-range radar-guided missiles at one-another, only two combatants remain, neither decides to bug out, the aggressor empties their IR missiles unsuccessfully, and the defensive craft is imminently going to be within the weapon employment zone for the bandit’s cannon… then this might be a Hail Mary to force the aggressor to overshoot so you can turn the tables. But having bled all your energy, you’re going to get at most one shot before you’re back to simply trying to survive.