Hi,
Welcome to our new Microsoft Q&A Platform.
As others said, you could change the name of a domain controller, however, it is generally suggested to be done including:
New hardware is purchased to replace an existing domain controller.
Domain controllers are decommissioned or promoted and renamed to maintain a naming convention.
Domain controllers are moved or placed in sites.
And after you rename your domain controller, you must manually update the File Replication Service (FRS) or Distributed File System (DFS) Replication member object. This object must be updated with the new domain controller name so that the domain controller can replicate SYSVOL. Because the FRS or DFS Replication member object is not updated with the domain controller name automatically during the domain controller rename, we recommend that you rename your server before you promote it to domain controller status.
Best Regards,