Yes, you can pass electricity through a vacuum. TV's, or fancy cathode ray tubes, are supposed to have vacuums inside, so that the path of electrons can be clear for them to run a path onto the phosphor screen. Beams of electrons existant in vacuum are very important for a great number of things.