We had considered this several years ago, @Simone_De_Beauvoir s description of what goes on is correct. They have to chemically stimulate egg production to produce multiplw eggs, then harvest them from the ovaries.
We were considering doing this because, although my wifes tubes were blocked, her ovaries were intact. The harvested eggs would have been fertilized IVF using my sperm and the result implanted into Megs female partner, who would have carried the pregnancy (abdominal injuries would have made pregnacy dangerous for Meg). The baby would have had a daddy and two mommies. Due to logistical problems, we never did this. I was still a serving Army officer on overseas deployment and I didn’t want to be an absentee father like my father was (Naval officer). We were planning on doing this about seven years ago, but the Army STOPLOSS order prevented my retirement. It’s too late now.
Basically the risks are what the hormone injections will do to you physically and psychologically. It is not a decision to be made lightly. This procedure could jeopadize your ability to have children later (at least that’s what the doctor explained to us seven years ago).