"can I just buy the base unit"
Yes. I usually buy separate base units and monitors at different times. The base unit generally comes with a mouse and keyboard.
"and if so do they come with operating systems."
Generally they will come with Windows, but some some suppliers will provide low cost base units that don't include the operating system. Check the 'specs' to see if the OS is included.