There are peer assistance groups that offer confidential assistance to pilots
PAN - Peer Assistance Network, with some basic info & resources and info on the page.
This model is quite successful and has been going since the early 90's. The only person who truely understands all the pressures and medical licensing issues is another pilot, not involved with the union, management or regulator on a strictly confidential basis.
PM me for info.