Yes, in principle the ovaries are intact and functional after a hysterectomy. Many women continue ovulating after having their uterus removed.
Nevertheless, if the woman was not ovulating regularly due to advanced maternal age or if she has PCOS, the quality of the eggs collected may be less viable. This could be improved with fertility drugs given to produce multiple eggs.
Suggested for you: How Does the Egg Donation Retrieval Process Work?.