So I have a computer with a corrupted HDD, a replacement may take a long time. I was wondering if it was possible to have a boot drive (USB) and have it load and install the OS to an external HDD. This setup is intended to be temporary and ultimately removable.

Computer: SONY Vaio L-Series All-in-One
Operating System: Windows 7 Home Premium