Hey Lynne, welcome back!!! So sorry to hear about your health problems, that can put such a damper on things, especially if it renders you immobile. I'm no expert of course but it might be worth asking the doctor for an MRI of your lower back and see if there are any trapped nerves going into your legs. Leg pain is such a broad thing, it could be a number of things but if it wasn't due to a trauma but built up gradually, I reckon it might be nerve related somehow, maybe an inflamed nerve.
I'm glad you weren't prescribed Tramadol, it's actually been taken off the market because of severe side effects in long term use, I know this might not apply to you as you wouldn't use it for very long probably. But it shouldn't really be prescribed anymore. If push comes to shove, you can always combine cocodamol with ibuprofen which, occasionally, is a life saver for me.
Anyways, enough meds talk
I know how stress and poor health can throw you off balance so much dietwise so a big well done for re-starting despite being stuck at home. I hope the doctors can shed some light on the cause of your leg problems, it's so frustrating when something cannot be named and therefore treated properly.
I went off the rails Saturday to Monday and feel suitably guilty for it, I didn't even enjoy the food that much and it always impacts so much on my sleep so more fool me really. But I'm back today so I do hope we can motivate each other xxxx