We have one ZCM Primary Server using the Embedded database

We want to migrate to MS SQL on the same server

Can MS SQL server be installed on the primary and then do the migration
of the database data?

Thanks