If by electric you mean batteries, it’s only realistic for very short flights.
For longer flights there are other more realistic alternatives with no net emissions, which are mainly hydrogen (made from electrolysis) and biofuels (made using carbon already present in the air).
For longer flights there are other more realistic alternatives with no net emissions, which are mainly hydrogen (made from electrolysis) and biofuels (made using carbon already present in the air).