It'd be interesting to see if this idea would work: I skateboard, and abig part of skateboarding is trying non stop a new trick that your trying to learn. Say you want to learn a kickflip.....it took me 2 months of practising every day to get that down.

Now, basically all doing a kickflip is is the same exact motion EVERY SINGLE TIME; it's just a mattery of sticking it and riding away. SO, my point is, if you have this same exact physical motion burned into your head from so many unsuccessful attempts....could you possibly find the trick to the kickflip using your failed attempts in a dream, and master them in real life?

It's not like your learning a BRAND NEW trick; that would be impossible to carry on to waking life being as you have never tried the trick before in real life, so yoru mind would only be fabricating a image/feeling of what it thinks it would be like to do that particular trick.