You can do that as far as I know. This article should also apply to 8/8.1 Can I dual boot 32bit and 64bit Windows 7, and if I can how? - Microsoft Community

Separate licenses are required.