I realize the original post is old, but I wanted to share my (non-AN) post surgical experience with breastfeeding my daughter about 4 years ago. About 4 weeks after I delivered my daughter, I had a severe case of cholecystitis (inflamed gallbladder), with sepsis, acute hepatitis from blocked bile duct and resulting pancreatitis. I underwent 2 surgeries over the course of a couple of days and thank God, everything turned out ok.
However, at the time, my daughter refused to take the bottle from anyone. About 12 hours after my last surgery, I was having lots of problems with side effects from the pain medication anyways, and just refused any further pain medications. I had to sign paperwork to refuse the drugs. I used "Hypnobabies" to manage the pain and the oxytocin from nursing. The nurses couldn't believe it, and actually came from another wing to see my daughter and I! But it was really all the practice I had preparing for a natural delivery with the Hypnobabies meditation series that got me through it.
Honestly, I never felt better during my recovery than when I was nursing, although it was difficult to position my 4 week old in the hospital bed with the IV in my hand/abdominal pain and I remember having a hard time getting her back in her crib. I did pump and dump for about 12 hours after the surgery to get the anesthesia out of my system, and spoke with both my midwife (who came to the hospital) and the lactation consultant. They agreed it was best for both of us to just keep nursing. However my surgeries only ranged between 2-4.5 hours, so substantially less than AN surgery, so that probably makes a difference on how long you are under/how much anesthesia you have in your body.
Anyways, 2.5 years later I finally got her weaned
Now she is four and I'm dealing with my newly diagnosed AN. My heart goes out to any new mom that has to deal with an AN or any other major surgery. Hopefully this helps, I wanted to reply because I didn't know how many responses you would get from AN-specific surgery. I'm now looking for a more general surgery guided hypnosis course, to help prepare with pain management for my upcoming AN surgery.