This isn't a reasonable blanket policy. While I definitely would feel encouraged knowing my pilot has not displayed suicidal ideation, I do not support tracking writ large.
For example, resident physicians are known for being pushed to work 80+ hour weeks. Would any of them ever officially admit to having mental health issues? Hell no, and that's a problem from an ethics perspective and a declining level of healthcare, not to mention tragically ironic to boot.