An iPad Pro has been my primary work device for nearly 20months now. I recommend it any professional that doesn’t need to write code.
If iOS Safari had the inspector/debugger, or just inspector with live JS console, I would almost never need to use my laptop (which is just Chromebook, but runs full Chrome).
I mean, hardware-wise, it's totally capable; it's got a pretty powerful CPU in it. It's just the App Store publishing policies that don't want to cooperate.
But there's nothing fundamentally stopping someone from creating a Crouton-like "chroot in a box" environment and publishing it as an XCode project; and nothing stopping you from taking said XCode project and deploying it to your iPad using development provisioning.
[1]: https://apps.apple.com/us/app/inspect-browser/id1203594958