Ben Hogan said that before he hit the golf ball he would visualize a perfect shot. He would visualize exactly where he wants the ball to go and with perfect form.
Visualizing builds up muscle memory even though your not going through the motions. Your body and brain acts as if its a real memory.
The more you practice this mental visualization the more it becomes real.
If you can dream it then you can do it.
Perfect practice makes perfect.