The F111 used to do it as a decoy for heat seekers I believe, See
F-111 'dump and burn' to light up festival - Queensland - BrisbaneTimes
The Germans experimented with a flame thrower mounted in the tail of the HE 111 during the war as an anti aircraft weapon, it was soon abandoned as it was found attacking pilots seeing flames eminating from the back end assumed they were causing damage and pressed home the attack.