First off if the Windows in it is from a OEM (Dell, Acer, etc.) then NO, before Windows 8, all Windows bought 'with a PC' was tied ONLY to that PC, and you can't change the Mobo/CPu even changing the case would cause Windows no longer to load.
Second if you have a current system and you 'adding' this old HDD to the current system NO the games/apps will not work right because they need to be reinstalled, there is little parts all over the 'C Drive' you can't find/see, and trying to just 'run it' will cause it to break one way or another. You would need to reinstall the application from scratch.
Third if you have a current PC and you have this old HDD, you can disconnect the current HDD (IF this isn't a OEM Windows as noted above)...