Human muscles are controlled by action potentials that travel along the nerves. Below is an image of a train of action potentials that are decoded by the brain into a sensation or interpreted by a muscle group as a command.
I'm interested if it is possible to record such action potential sequence and then "play it back" for that person. For example, a person is moving a leg, a recording of action potentials is made. Can such recording be transferred back to the nerves to create an illusion of movement or repeat the muscle movement?