I have pondered a similar idea.
Maybe something client side, where same named communities get merged into one as a view.
But lemmy to me, who browses /all/new, has a terrible problem with “spam” - valid posts in some cases but one person posting the same thing to 20 communities and overwhelming the feed