Hi
I understand difficult in falling/ maintaining asleep can be tiresome..
As your aware taking Benzodiazepine for long time can be addictive and cause potential long-term side effects ...one of which is effecting memory
But underlying cause of sleep issues should be addressed as it can be part of many disorders.
Lot of medications you have used ...but need to understand how long each have been prescribed...
Most SSRIs you have taken should be tried atleast 3-6 months before to understand whether they are helping or not.
Side effects can be troublesome but need to understand are side effects because of medication or due to tapering off alprazolam (2mg tapering takes time)
Side effects can be helped otherwise...
Also was sleep hygiene part of treatment ?
Psychoanalytic psychotherapy can help understand where the issues have started from and prevent any future relapses.
Next Steps
Can consult me help you with medications or therapy or both accordingly after complete assessment
Health Tips
I understand your working in giving up of alprazolam but don't give up..
first week is hardest ...a month little difficult but later you can be free of your addictions under proper Guidance from doctor.