First, the yogurt machine uses alternating current, and the battery is direct current, so it cannot be used directly.
Second, the power is too large, and the power that the battery can provide is limited.
If you have to use batteries to supply power, you need to buy an inverter of more than 2 kW and have a large enough battery.