Yes. Prior surgery on the uterus is not a contraindication to using the abortion pills.
*Nothing provided herein should be construed as professional medical advice and no medication / pills should be used without a prescription from a licensed / registered medical practitioner eligible to prescribe such medication in your local jurisdiction.