As others have noted, the least painful way to accomplish this is to use the iPad as a terminal that accesses some external server.
If you want to work offline, I've heard of folks carrying around a small "sidecar" computer the iPad connects to via USB or bluetooth. Rui Carmo has a [description of his setup here](https://taoofmac.com/space/blog/2023/09/09/1820).
If you want to work offline, I've heard of folks carrying around a small "sidecar" computer the iPad connects to via USB or bluetooth. Rui Carmo has a [description of his setup here](https://taoofmac.com/space/blog/2023/09/09/1820).