Yes, electricity can cause levitation through a process known as electrostatic levitation. This involves using a high-voltage electric field to counteract the force of gravity on a charged object. By carefully adjusting the electrical charges between electrodes, scientists can suspend small samples, such as glass or metal alloys, in a vacuum or air. This is a highly unstable equilibrium governed by Earnshaw's Theorem, which states that a collection of point charges cannot be maintained in a stable stationary equilibrium by electrostatic forces alone; therefore, sophisticated computer-controlled feedback systems are required to keep the object centered. This technology is primarily used in materials science research to study liquid metals without the contamination that comes from touching a container. It is distinct from magnetic levitation (maglev), which uses magnetic fields rather than static electric charges.