Electricity is basically a flow of particles called electrons. So you need the electrons to travel to get electricity. The problem is that electrons are “big” which means things can get in the way. Oxygen and Nitrogen in the air will get in the way and push the electrons off course. This means electricity wont travel too far in air.
But it’s possible. You might need a really really powerful electron beam but I don’t know how that would work and it might not travel as far as you want it to.