Glad we could help, and it's always best to double check with the doctor. Light exercise can increase muscle, which is heavier that fat, and even in the hospital they want you in a chair, and walk about, but ask the dr. Maybe even physical therapy to get you back safely, and can continue on your own. The swollen feet could be from lack of movement, sitting in bed. It also can be a sign of kidney problems, due to treatment, but more the ankles, but don't doubt it extended to feet, or other medical condition, fluid retention.
I went back to the gym, really light exercise, weights like 10lbs lol, but your muscles will still grow if that's heavy for your muscles. You don't not want to get injured, and have a setback. I did last month from a kidney stone, causing acute renal failure, and need for surgery. and two blood transfusions from the lack of erothpoitein being produced. So I needed a month to recuperate.