I'm sorry but it really sounds as if Superwolf is right . . .
I haven't seen anything here that makes me think you are at severe risk of hurting yourself or others. This is the sole reason for psychiatric wards . . . and they are not fun places to be. I get that mental health problems are exhausting but if people could go to hospital for anything no one would ever truly get better, you have to learn to manage your condition within the community. The therapy and medications you've tried may not be brilliant but it can take a long time to find the stuff that does work, on average it takes about 10 years. Personally I've been in ill for 7 years and only recently found a solution that lets me function normally and vent hen I have blips that I have to deal with, and it's about gaining the skills to deal with it, hospital doesn't really help with this.
You say that you are using more resources at A and E every night but this criteria isn't accounted for when assigning beds. Beds are at a shortage and we need to give ones to those who are suffering the most. And to be frank if you've been in A and E every night for a year the fact you haven't been given a bed is telling that you might not benefit from it, hospitals are a short term solution. Trust the doctors, continue with therapy and medication, don't give up and stay strong and I'm sure you will recover in time.