Sleep is not just a function of the operating system. The motherboard and power supply have to support it as well, which I highly doubt is available on a server.
The best you can hope for on a server platform like that is idle drive spin-down.
The CPU and other components will enter their lowest power states automatically. You could look at the CPU governor power save settings.
How about shutting the machine down when it’s idle and using wake on lan to boot up when needed?