In most cases you can, but check the game's own forums before buying an older title. Compatibility is title-specific and the forums will tell you in a minute what testing would take an evening.
If it refuses to launch, right-click the game's icon, open Properties, go to the Compatibility tab and set it to run in Windows 2000 mode. That resolves a surprising share of these cases.