Yes, you can use a LiFePO4 battery (Lithium Iron Phosphate) for an inverter, provided that the inverter is compatible with the battery’s specifications. LiFePO4 batteries are increasingly popular due to their high energy density, long cycle life, and safety features.
[pdf] Use a center-tap transformer rated for 220V output and 12V input with at least 100W capacity. This configuration works best with a 12V lead-acid battery and two IRFZ44N MOSFETs or equivalent.
[pdf] Scientifically speaking, the transformer in an inverter must have a 1:19 turn ratio in order to convert 12V DC to 220V AC. The inverter works by switching back and forth the direction of the DC input very quickly to complete the DC to AC conversion.
[pdf]