Short of Apple embedding proprietary document rasterizers into the Quick Action, there would be no way for it to convert the document into PDF. The files it can convert to PDF are simple to embed because there is only minimal translation to "document" format, and it will not change at the whim of a developer.
For a complex document format like Word or Excel, it needs a formatting engine that can translate the document "code" into a formatted document, then encode that into PDF format. In general, that translation is proprietary, though I think Microsoft uses an open format. That would still require a large code base to be maintained and have to react to every change in the third-party software document formats.
Microsoft could provide a Quick Action, if they wanted to do so. There are various third-party developers that provide Quick Actions.