I want to do a $lookup where the localField is a String representation of an ObjectId and the foreign field is an actual ObjectId.
Any idea if this is possible with
It is not possible to match string with ObjectId in $lookup in mongodb version 3.2, there are some tickets opened for this issue, you can follow these issue and also vote for them.
https://jira.mongodb.org/browse/SERVER-22781
https://jira.mongodb.org/browse/SERVER-24947