It can, but it is fiddly. The usual problem is resolution: the game expects display modes that modern Windows handles differently, and the classic symptom is a "Fatal String Manager failed to initialize" error on launch.
Common workarounds include running the executable in Windows XP compatibility mode, disabling desktop composition, and using a community client patch built for newer systems. With a bit of tweaking most people get it running, but a clean install out of the box is rare.