Yes merging 2 domain controllers is possible.
Please go thru below points.
- First configure 2-way trust in the new domains is a requirement for domain migration
- Migrate resources with Active Directory Migration Tool (ADMT)
https://www.microsoft.com/en-us/download/details.aspx?id=56570 - Migrating Users
- Migrating Group policy objects
- Migrate files and set permissions
- Migrate computer accounts and local user profile
- decommission old domain controller
https://www.itprotoday.com/windows-78/plan-and-execute-active-directory-merger-part-1
----------
Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.