@Arkadian,
There is one option you could try - at least for epub. Once the docx has been converted to epub:
- Open the epub in the calibre Editor
- Select all the text files containing the endnotes (assuming they are consecutive) and merge them into one text file (Right-click - Merge selected text files)