It is not feasible to connect a 12V inverter directly to a 24V battery. 12V inverters are designed to accept an input voltage of 12V, while 24V is clearly beyond their operating range. 12V inverters cannot withstand a 24V input, which can lead to damage to the inverter, or even safety hazards such as short circuits and fires.