IIRC, there's work on a JS/TS capable macro API that can be used in the future. I will say, the effort MS has made to feature parity for Office's web interfaces is pretty impressive. I also say this as I've been planning to move my personal usage completely to self-host options (NextCloud, OnlyOffice, etc).