Short Answer : No.
Long Answer :
It would be beneficial to clear some things out.
OpenDJ is an implementation of an ldap server written in Java.
OpenIDM is a provisioning engine implementation written in Java. It uses a user and data repository, that can be a MySQL, MSSQL, Oracle DB, etc.
Reading your question, I get the idea that you are wondering if you can use OpenIDM's user repository as, your OpenAM user repository , and hence the answer is no.
What you would have to do is to set up synchronization between the OpenIDM data store and an Ldap server ( could be OpenDJ ), so that you can provision users and entitlements to the ldap server and use that as OpenAM's user base repository.