you can do it, then you should use optical fibre cable to send data to controller...
i remember someone doing this project long back and approached me for help..
but cannot remember what happened to it later.. i think it was successful
your question is not clear at all; first of all what you want to do and why you want to use light and how you want to use light??
by the way; if you want to use energy i mean electricity you can use sunlight as light source to rotate the motor or if you just want to send light as signal to rotate that also be possible. For electricity from sunlight you need solar system and for sending light as a signal you need LED and photo transistor to receive it. hope you understand.
You can put in rotating a special shaft, appropriately designed, using the light. Mr. Croocked invented the so called "light mill" or Croocked radiometer in the XIX century. Its shaft can rotate if illuminated. however the rotation is not due to photons pressure but to a thermic effect. However also light (or radiation) pressure exists an can be theoretically used, even if it is very weak as already stated by my_books.