Your use case would be best off handled by implementing the LDAP equivalent of dxqueue. That would avoid the issue of needing eDirectory on same server and keep with principle that IDM Apps does all it's magic via LDAP.
This is accessible as an LDAP extended operation.
Geoffrey's LDAPModify code can most likely be extended to support this. I have not personally done that though, so don't have any code to share.