AFAIK, this is what SO users (not SE) are doing.
Current situation
This project was started by Yvette using the proof of concept algorithm. The bot finds by itself the duplicates comparing to other posts (es. nullpointer exception) and reports in chat., Yvette got busy, and the project got stalled.
This project was started by Sam, using various NLP techniques. Sam pushed on and made some progress, but the algorithm remains unfinished as he's been busy with other stuff. We have done some initial testing, but no conclusion has been reached yet.
This bot is in production, it reads all comments posted on SO and this way are able to notify users (normally gold badge holders) when another user have suggested possibile duplicate. The bot runs in multiple rooms and can either just output chat message when "possibile duplicate" is found or users can opt-in to get pinged. Furthermore the bot can be used to search on old duplicates, hence create a batch with previous duplicates in desired tag. Currently this bot has around 2000 confirmed duplicates closed.
This bot is also in production but it is not targeting directly duplicated post, just low-quality question using machine learning.
Would SO community benefit
If a question is a duplicate I think the whole community agrees that it should be closed as such. Furthermore informing dupehammer users (gold badge holder for that tag), reduces the reviews needed to close a question as a duplicate.
However, SO's close vote review queue is not working (too many posts to review and too few people reviewing). Currently a lot of close votes just age away. Furthermore, the dupehammer users are not encouraged them to use their single-duplicate-vote close powers. Often they only receive complaints and revenge downvotes from the people who disagree with closure.
Considering this, it is difficult to find people that are willing to review tons of stuffreview tons of stuff. It can even be counter-productive to push even more questions in to the review queue because it spreads the few existing reviewers' votes thin across more posts, which can lead to even more close votes being wasted and fewer posts actually accumulating the 5 votes needed to be closed.
Conclusion
If you have fun developing and testing bots related to moderation on SO, your are welcome to the SOBoticsSOBotics room, we are happy to share our code (it's all open source) and host you in room if you like to test.
For more information about the room and all the other moderation bots running in it see sobotics.github.io