Yes and no. Yes you can but no as the OS needs some RAM to run. If you dedicate it all to the server the OS will still use some.