Yes, the solar inverters can work without batteries. The method to use Solar without batteries is Grid-Tied in which, solar panels are directly connected to electricity grids for running DC-to-AC connection.