The short answer is no. Traditional player pianos—often called pianolas—are purely mechanical marvels that require zero electricity to operate. They function through an ingenious pneumatic system powered entirely by human effort.
High-end reproducing pianos (like the Duo-Art and Ampico systems) added sophisticated expression control—capturing the original pianist's dynamics, pedaling, and phrasing—but they remained entirely pneumatic. No electricity required.
It's important to distinguish these antiques from modern systems like the Yamaha Disklavier or Steinway Spirio. These do use electricity, solenoids, and sophisticated sensors to move keys and pedals with incredible precision. They are remarkable instruments, but they belong to a completely different technological category than the classic pianola.