Sump Pump - plugging into a UPS?

it is good to have a power inverter for many reasons.

you would want to find how long your battery(ies) would last powering your expected uses with it; in this case how many sump pump outs you can get.

with your auto starting battery as your battery then you want to be cautious to not drain the battery to not be able to start the auto. there are many emergency situations where you would need to leave your property.