Collating all comments with a specific tag across notes in one note

Is there a way to embed the found documents automatically? e.g. get the content of all notes with tag #quote and have one document with all quotes embedded according to the search result?