Yes, you can follow along here to perform metadata cleanup.
https://social.technet.microsoft.com/Forums/windows/en-US/925ff421-b32e-426d-b55a-ec6f73c28e6a/how-to-completely-remove-an-orphaned-child-domain-without-its-dc?forum=winserverDS
--please don't forget to Accept as answer if the reply is helpful--