This brings to mind the myomer muscles used to move the walking tanks of the Battlemech universe. These artificial muscles contract when a current runs through them, providing the motive force to move anything from replacement limbs for amputees to the massive, multi-ton war machines that the universe is known for. Is this the sort of idea you had in mind? If so, we simply don't have that kind of technology at this time. Not that I'm aware of at least. Current materials only barely contract/expand when a current or voltage is applied.