Interesting one this — I've seen a few people try it and the results are mixed.
Technically, a grid-tie inverter needs to see a DC input voltage within its MPPT operating window, and a battery bank can fall within that range depending on your battery chemistry and string configuration. So in theory, yes. In practice, it's a bit more complicated.
The problem is that grid-tie inverters use MPPT to constantly hunt for peak power, which is fine with panels but with a battery you're essentially giving it a near-flat voltage source. Some inverters will just latch on and draw hard — potentially pulling more current than your battery can safely deliver. No BMS is going to thank you for that.
I had a brief experiment with an old SMA unit at my static caravan setup before I switched everything over to a proper Victron off-grid system. Got it running briefly but it was janky and I didn't trust it long-term.
The other elephant in the room — grid-tie inverters need to sync to the mains. No mains, no output. Anti-islanding protection will just shut them down. So unless you're feeding back to a live grid, you're stuck anyway.
If the goal is running AC loads from batteries, honestly just get a proper hybrid or off-grid inverter. Victron Multiplus, Growatt, even a basic Renogy unit will do the job properly without the headaches.
Has anyone actually got a grid-tie running reliably on a battery bank long-term? Curious if there's a setup that actually works cleanly.