ceiling fan w/remote
Yes, you can purchase a remote control module that will allow you to independently control the fan and the light. Most modules only require a hot, neutral, and ground wire to operate. 

Here's a wiring diagram from a random fan remote, installation guide (PDF).


  


The receiver gets power from the house wiring, then determines which leads to energized based on the buttons pressed on the remote.