Yes, that should be possible - see Clean Install with a Upgrade Windows 7 Version
for instructions. However, you need to be aware that it must
be a clean installation as you cannot directly upgrade a 32-bit OS to a 64-bit one (or vice-versa). You also need to ensure that you have 64-bit drivers
available for your system.