You can make anything to run on an electric engine, but the amount of batteries would be excessive and they would be worse than ICE in terms of working efficiency. You can't just recharge your battery like you can refill your tank, it takes a lot more time, so you need to keep your tractors out of work and farmers usually work during daylight so every minute counts.
You could, of course, use biodiesel.
But then, how sustainable would that be? Biodiesel already contributes a significant percentage of fuel use in many countries but converting to 100% Biodiesel is something else entirely, you would need to turn many fields into oil producing crops, either displacing food production or converting forest or natural pastures into farmland, using more fertilizers etc
That's all considering current technology, of course if Elon Musk develops some battery that can be charged in 1 minute or people are able to make algae biodiesel viable or something else it could change everything.
I started researching biodiesel and algae back in 2009 when I entered college, it was all the rage back then, supposedly 1 hectare of algae could produce 10x or more oil as soybeans, it turned out to be misleading.
https://oilprice.com/Alternative-Energy/Biofuels/Exxons-100m-Algae-Investment-Falls-Flat.html
Microalgae are basically small cells filled with oil, while a conventional land plant has a lot of other tissues and thus by weight a soy plant doesn't have such a high oil/mass ratio, but there is a reason for it. Conventional plants have roots, so they can grow on dirt, they have stems, so they can grow high and block light against weeds while capturing more sunlight and so on. So to grow algae you need to babysit them, you need to have a pool, you need to kill weed, you need to agitate you need to feed them light as they grow and block light to other algae etc.
The same goes for most other green technologies, they are good, doing R&D on them is important, but right now they can't surpass fossil fuels in all respects and you can't really predict when they will.
Also, a lot of green initiatives taken in developed countries are useless in a global context, for example, the US doesn't manufacture lead acid batteries anymore because they're afraid of lead, so they let China produce it and sell it to them. That's OK right? Fuck China, except they then pollute the oceans, burn coal causing worldwide global warming etc.
Solar panels, rare-earth minerals used in lots of electric appliances and electronics, lithium batteries, many of these are highly polluting or in limited supply too.
I'm rambling but my point is that it's not just an evil conspiracy by ExxonMobil and the Saudis to keep the world using oil, it involves a lot of scientific and engineering problems that we haven't solved it.