I believe that in the UK anyway, Fireworks,pyrotechnics & signalling flares, etc are not allowed anywhere on board an airliner.
Seems prudent.
Except in the liferaft and slideraft survival kits, where are they are part of the standard equipment. Same with Oxygen generators, passengers may not carry them either as handbaggage or hold baggage, but the aircraft is full of them.