@oliv90454 seems you want to use your phone as a specialised appliance. This is possible with UT, it is Linux after all. But there are a few hurdles you would need to jump over. These are not short-conings of the OS, but design decisions based on target audience and function.
Read-only root file system with atomic updates. You've already encountered this one. The reason for its existence is robustness and stability. Circumventing this by making the filesystem read/write is not a suitable solution because most devices don't have a lot of space to spare on the root filesystem anyhow.
One way forward for you would be to install Crackle, which gives you access to thousands of packages in the nix repository, install pip3-env and from there proceed as you would on any other Linux environment.
Writing an app is also a possibility, though it might be overkill for what you are trying to achieve.
Whichever path you choose, you would then run into the second hurdle.
Application lifetime cycle. As UT is primarily a mobile OS, so minimizing battery usage is very important. To help achieve this, by default, devices are in staged mode. In this mode only one user space app is active at a time. When an app ends up in the background, either because another app was activated, or the screen turned off, the app is suspended and it no longer executes any instructions. To work around this you could exempt the terminal app, or your own app, if you choose to write one, from suspension using the UTTT (Ubuntu Touch Tweak Tool)
The last hurdle I can think of is more a physical limitation of the device. Unless you don't mind your battery degrading, because the device would be constantly plugged in to the charger, you would have to device a routine for charging and discharging the device.
So all in all what you want is totally doable on UT. But if you think it is too much trouble there's always a more traditional distro, like Droidian, available for your device.