Can You Play StarCraft 1 on Windows 7?

Yes, though you may hit a colour bug.

The common issue is the palette rendering incorrectly, so the game displays in washed-out or wrong colours. There are several workarounds, and one that reportedly works is to right-click the desktop, open Change Resolution, and then launch the game — for whatever reason, that resets the display mode enough to fix it.

Compatibility settings and running in a windowed mode are the other standard fixes. The game itself runs fine; it is purely a display quirk of an old DirectDraw title on a modern desktop.