I never tried, I did come across imformation relating to such an issue though in the past while searching for something else. Its refering to XP not win7, but I assume the proccess would be similar IF not more difficault, because thats what microsoft does LOL? In this instance though i wouldnt blame them for copyright reasons.
So me not being any pro, but am familiar with some of the info, my guess would be... Yeah its probably possible, but also Probably Way more work then its worth LoL
The links bellow have information but for XP, it will give you a google starting point anyway if you choose to try. You'l have to do some of it in reverse though i think because your moving it from Partition2 to 1, however your OS Bootsector is still located on partition1 so Partition2 wont boot on its own without premodifying boot.cfg ,also your going to have a hole slew of other issuse if its even possible, if you doing this to try and boot it from a different system because windows activation locks itself to your hardware. If you try, and you get it working let me know how you did it