Here is an interesting video showing that it is possible to upgrade through every major version of windows. The author started by installing MSDOS 5.00 and windows 1.01 on a virtual machine and proceeded to repeatedly upgrade until he reached windows 7.
It is unclear if the virtual hardware was upgraded during the process. I would be surprised if he got windows 1.01 running on newer hardware, or windows 7 running on old hardware.