I'm surprised it's 2022 and they haven't embraced a multiline equation editor.
Pair this with Alt+Enter (line break) and adding 4 spaces at the start and you can nest functions in a familiar, albeit manual, way.
https://www.microsoft.com/en-us/garage/profiles/advanced-for...