More or less. There is no PDC/BDC anymore, that hasn’t been a thing since NT 4.0

Assuming you are not permanently replacing the hardware and your existing server supports Server 2022, then yes you would promote a second domain controller. Transfer all FSMO roles. Make sure it is replicating properly. That means repadmin /showrepl doesn’t show errors and dcdiag /v run from bother domain controllers shows no errors.

You will need to contend with DNS and DHCP. What currently hands out DHCP? If it is the existing server, then you need to move it to the new one first. You also need to change your DHCP scope to hand out DNS for both domain controllers, or when you shut down the first one nobody will be able to reach the domain.

Once you do that, shut down the first server for a day and make sure people can log in without issue. Bring it back up, let it replicate. Again check repadmin and dcdiag.

Make sure when you configure DNS on the domain controllers you do it how I describe here:

Demote the first domain controller. Nuke it, install Server 2022, and then do the same procedure that you just did above to bring that server into the fold, validate it, and then ultimately decom the second one. Better yet, keep 2 domain controllers.

2 Spice ups