Recent experiments show we can learn in our dreams. What else could we do with the right technology?