P&W, I feel for you. CPTSD can have a profound effect on our ability to function and be happy in the workplace.
I've been going through something similar. I currently have the best job I have ever had, and so far, they seem to like and appreciate me and what I bring to the table, but... I think my CPTSD symptoms are finally getting to be too much for me, and I'm considering leaving this career I've worked so hard toward all my life--something I should instead be embracing and relishing. I just don't think I can keep up with putting so much effort/energy into basic functioning much longer. In my case, I'm contemplating leaving the work force altogether (so not exactly the same as what you're talking about--but it would put me in a situation that is not exactly ideal, financially).
Several members shared their own experiences related to this issue on a thread I started recently. Here it is, in case you haven't already seen it:
https://cptsd.org/forum/index.php?topic=11756.0Like Kizzie mentioned, some folks have managed to go on disability, so that may be an option for you to consider(?)
I wish you clarity and serenity as you consider your next steps, whatever they may be