Yes as you could even set a shortcut to run the game in windows 7 compatible mode. Just right click the shortcut and select properties. Then select compatible tab and you should see and option to run the program in compable mode with widows versions to use.
Windows 10 lets me do this going all way down to windows 98. My windows 7 has about the same starting with XP.