You can perform a clean installation of Windows 8 Pro to a new hard drive and re-use your existing license that was included with your computer as long as:
- You delete the instance of Windows on your original hard drive, and
- You continue using the same motherboard on which the license was first used
According to the Microsoft OEM Partner Center's Licensing FAQ:
Generally, an end user can upgrade or replace all of the hardware components on a computer—except the motherboard—and still retain the license for the original Microsoft OEM operating system software. If the motherboard is upgraded or replaced for reasons other than a defect, then a new computer has been created. Microsoft OEM operating system software cannot be transferred to the new computer, and the license of new operating system software is required. If the motherboard is replaced because it is defective, you do not need to acquire a new operating system license for the PC as long as the replacement motherboard is the same make/model or the same manufacturer's replacement/equivalent, as defined by the manufacturer's warranty.
The FAQ goes on to state that Microsoft considers the motherboard "the 'heart and soul' of the PC" and that only "when the motherboard is replaced (for reasons other than defect) a new PC is essentially created".
Therefore, you are free to install Windows from scratch to your new hard drive. Typically when only one key hardware component (your HDD) is changed Windows Product Activation will succeed without issue. However, if it were to fail for some reason, simply call Microsoft at the number provided in the Activation Wizard and explain that you are reinstalling Windows to a new hard drive in an already licensed computer.