Want to implement Identity First with LockJs library

I have a requirement where I want to implement Identity first based on email ID by calling a custom service, rather than the domain of the mail id being used. Is it possible to do this with Lock library for Auth0?
Need urgent help on this.
Thanks