With the advanced rocket technology that SpaceX uses in the Falcon for re-entry and controlled descent, could the same technology be used in commercial aircraft? I'm asking about using it in emergencies like engine failures, stalls, loss of pitch control etc. in order to prevent a crash, or at least minimize the damage and reduce the fatality rate.
For fuel storage, the rockets could burn what's available in the tank without any need for an auxiliary tank dedicated to them.
I know that there is a similar technology used in the military: the C-130 Rocket Assisted Takeoff (JATO). But it's only used for short runway landings and take-offs.
EDIT:
The question is specific to thrusters that could recover the airplane from unrecoverable situations (dive, bank, upside down,...). Question Why are movable rocket thrusters not used in airplanes? answer is generic and not detailed for such use case.