Possibility for private planes, but none for commercial planes. Just imagine a commercial passenger plane or cargo plane that needed a giant amount of electricity and like 12 hours of charging in between every flight.
Then, for safety reasons you'll need to have two batteries in case one goes bad.