Hi,
It is entirely possible, by first retrieving the OCS server settings (in order not to have to reinstall / modify the agent parameters - IP / port / SSL certificate of the server).
If you are not familiar with this operation, I advise you to install your new server in a virtual machine and to regularly use snapshots.
Regards, Stephane