Syncing users/groups to two AD domains

Hi all, I have a use case here where we are setting up two separate AD domains, eacn in a different environment, but where we want to be able to replicate users between the two. I know I can use Keycloak to write users back to one LDAP/AD directory, but I’m curious if there’s a way to write them to two?