Yes, and you have at least two ways to go.
One is to have a 240 volts battery bank and from there you could make a simple MSW AC inverter ( MSW = Modified Sine Wave) or even a Pure Sine Wave with more Electronics.
The other case is to get a AC PWM PFC regulated power supply with the desired output voltage to charge the battery bank you may have in mind and by the power you have available a minimum of 48 volts bank, though I suggest 120 to 240 volts battery bank, ask if you need more info.
AC = Alternating Current
PWM = Pulse Width Modulated
PFC = Power Factor Correction or Corrected.
Also, you can trick the GRID Inverters to think that they have GRID power available for local power generation if you need to have that.
Nando