Windows 7 with touchscreen monitor

This might be a dumb question but can you use Windows 7 with a touch screen monitor? I mean I know Windows 8 is optimized for touch screen peripherals so if you wanted to go with touch screen I didn't know if you had to go with 8 or if you can stay with W7.