I'm trying to do that with a new project that uses Natural Language Processing. (see gif at https://twitter.com/uzpg_/status/1483140905943146502)
Basically it generates an automated graph of relations between your notes and tries to find which "ideas" group them.
I'll probably post the Show HN soon once I make it public!