Hey panicattheeverywhere, it is totally possible to get back to yourself.
I have been through all this, and am now recovered, which I would never have dreamed was possible. I was so bad at my worst that I couldn't make it to the kitchen without having an attack, I had moments of dissociation, I developed a somatic disorder where my blood pressure would plummet when I stood up.
What I wish I really knew at the time, really absorbed, is that what causes this is stress, there is nothing wrong with you, you are having a natural reaction to prolonged stress, multiple awful things happening to you that are out of your control. We can adapt to stress we can control, we can handle things.
What 'cured' me was having the stress removed from my life (in my case a painful messy marriage breakdown - but suddenly I was free). I still had to work on repairing myself, but that was the turning point.
I hope something a lot nicer happens for you soon, that will lift your load of stress. In the meantime, do be very kind to yourself, mentally. Medication is to help ease the symptoms, but you are not what needs to be fixed, the situation is.
There are three things I learned that really helped me through the recovery stage, I had formed a lot of 'anxiety habits'. They might be useful to you now.
Number one is, if you have a negative voice in your head, don't try to argue with it. Paying it attention makes it stronger. Create a cheerleader voice to drown it out. Let it be your biggest fan. My biggest fan says silly stuff like "oh wow, look at AmorFati taking her iron supplement, she's amazing" and I love it.
Number two, we are not actually our thoughts, we are our actions. I was so caught up in my own head paying attention to every thought. Most thoughts are as significant as a running nose, or a sudden itch, or frankly, a fart. This really helped me get over my learned sit-in-bed-all-day paralysis. If you have an ideal you, and you do the thing she would do, then in that moment, you are her. Simple as that.
When I was sick, I was a bundle of anxious, contradictory, jumbled thoughts. Now I am well, I am my actions, feelings, and a strong narrative voice.
Number three seemed too simple to be true, but I tried it and it works - prolonged smiling. I go for a walk every day, and I listen to music, wear my sunglasses, and slap a big smile on. I smile at everyone I pass and say good morning! It felt fake the first couple of days, but - people smile back! I have "collected" some truly dazzling smiles. There's science that backs the idea that the act of smiling cheers you up, happy hormones and so on, it has been faster and more effective than any medication I ever took.
This has turned into a novel, sorry! I just wanted to be really clear that yes, you can get past this, and yes, you are still your own amazing self, not broken, this is a problem from the outside, it doesn't touch the core of you. 