A few years ago the turbo rally cars were set up to keep the turbo spinning when the driver lifted off the throttle, don't know how it was done but the side effect was a series of impressive backfires.
Easy peasy - when the throttle is shut add air to the cylinders via a bypass mechanism and continue to inject fuel, but trigger the spark plug so late in the cycle that the resulting combustion goes straight out of the open exhaust port keeping the turbo spinning.
Valves, seats, exhausts and turbos don't last long doing that but that's just fine on a rally car that gets rebuilt every stage/rally..
I've seen some aftermarket systems that dump fuel, air & spark straight into the exhaust runners so at least all you need is a turbo rebuild rather than an engine rebuild.
http://www.rallycars.com/Cars/bangbang.htmlBackfiring when lifting off in a road-tuned turbo car is usually the engine pegging rich as a vent-to-air dumpvalve opens on a MAF based engine management system (engine goes rich and then the vapour will combust either on the hot exit of the CAT or in the silencer with no CAT). RX8s (naturally aspirated) tend to do it when decatted as they run pig-rich all the time and if you lift off at the redline a little unburnt mixture goes bang in the hot exhaust.