Yes, most inverters should shut down when the batteries are low, but usually too low to be good for the batteries.
Yes, "grid interactive" systems exist, though sometimes with slightly different targets such as to act as a whole-house UPS for short grid outages.
Look at SMA, Outback, Xantrex for example, IIRC.
Rgds
Damon