Hi @chocks
First and foremost, please know that you are in a safe place. The SANE community is not here to judge, and is based on the tenets of compassion, understanding, and mutual respect.
From similar lived experience, I understand how the rigors of the contemporary workplace, including having to report to supervisors that prioritise business outcomes over people, can lead to mental health challenges. Moreover, I also appreciate that the social/emotional intelligence of some supervisors is challenged by team members who have the courage to raise issues of concern.
However, what I learnt from experience is to strive for a better balance between work and other aspects of my life. Furthermore, I learnt that some supervisors (certainly, not all) do share my values of loyalty, perseverance and hard work, and are reticent to consider alternative business perspectives to their own.
While coming to this realisation was difficult, it provided me a less idealistic view of the workplace. Beyond this, it led to a greater self-awareness, including areas for personal development, and a need for a better work-life balance. Perhaps most important, it was the catalyst for pursuing a career that better aligns with my values, and for letting go of the feelings and emotions that were causing me unhappiness.
It seems to me that you capable of making similar changes to your own life.
I say this, as your post indicates a high level of self-awareness and openness to change, which are integral to countering the habits that are causing you relational issues. In a similar context, I suspect that you are underestimating your resilience (while acknowledging the ups and downs that go with this), and your inner capacity to build/rebuild positive relationships with people that add value to your life.
Lastly, I didn't hear that you have sought the support of a counsellor, or other helping professional, to help you to work through your current challenges. For many people, this support is beneficial and as such, might be something for you to consider as you move forward with your life.