FWIW, I recall a time when Word used have a CLI. My memory fades, but I think it was either v4 or v5.
https://en.wikipedia.org/wiki/Microsoft_Word#Origins_and_gro...
The Internet Archive seems to have a version listed on the 'Abandonware' listings.
I'm curious about your answer to this: would you argue that MS should combine Word and VS Code into one text editor?