So, almost dying grants you a feat on top of a flaw? Wow, where do I sign up for this near death experience?
I'm not sure this would work, largely because it almost makes near-death scenarios something you WANT to happen. If thats what you're shooting for, go for it.