Is there a way to merge windows of the same application without a "Merge All Windows" menu item?

It's up to the developer to support this functionality. Many apps (document based etc. written using native Cocoa classes) support this by default. There's not much you can do to enable this in apps which do not implement it.