Excel Online has Typescript-based [1] automation with Office Scripts [2]. There's even an online VS Code-based editor in development [3]. You can run these scripts non-interactively in Power Automate and integrate with pretty much anything, it's all pretty powerful.
But even that is fairly slow compared to any scripting done in Excel.