There are some safety-critical industries which recruit heavily from those with military and/or emergency services backgrounds. Whilst I'm aware that there are people from these backgrounds who could have developed various psychological conditions related to trauma, I'd be surprised if more than a few applied for a safety-critical role and if selected, passed the medical.
If the airlines recruited forty-somethings with a couple of decades of non-flying military experience or emergency services experience, would it be less likely for an airline to find itself in this sort of position? Any airline recruiting such people would probably need to fund training, it's expensive enough without a family to feed.