Yes, you can partition a hdd. However, you normally do that so that like ace777 said, it is primarily used for seperate OS's, such as Windows, and Linux. That being said, I guess that you could install the same OS on a seconded partition. I would just look at virtual box, or Microsoft's virtual pc, though.
Cheers!