Yes, STP is a minor surgery and minimally invasive in nature. It is usually performed on an outpatient basis, and you can go home the same day.  However, since passing a pregnancy is moderate- intensely discomforting with heavy cramping and blood flow, we suggest you take good rest at home and indulge in self-care.