Can Time Machine be setup to back up only one folder?
Unfortunately not. However, you can exclude individual folders from Time Machine.

HT1427 Mac Basics: Time Machine:


  Selecting items to exclude from the backup
  
  In Time Machine preferences you can click the Options button to adjust settings. A sheet similar to this appears when you click Options: 
  
  


It may be possible using the command line utility tmutil however