I guess it may possible.
but before that you should have Windows 7 Ultimate edition on your hand as well as keep in mind you may not be able to upgrade from 32bit to 64bit or vise versa.
insert your DISK and boot it. then run the setup select the upgrade option. and proceed with given instructions.