This is called multi-master replication and could be handled in the same way as current read replicas.