I can only speak from my experience, I go to the gym and weight train about 4 times a week. First off I took the 6 weeks of no lifting after the surgery to heart. When I went back to the gym I was very weak and lost a lot of muscle. According to everything I've read you can't lose weight and gain muscle at the exact same time but I do think there's some hope.
In the beginning no way as you can not eat enough but down the road I believe that if you cycle meaning two light days of eating and one heavier day you can. One of the greatest things about working out after surgery is you can tone and tighten and your physique (sp?) starts to show.
I can see muscles I didn't no I had now... good luck!