I tried this and it was a bit of a pain. Partly because the device didn't have enough storage, but stuff like finding a decent editor was hard, and just about everything needs some tweak to work.
My experience is not that bad. It's Linux after all, of course you're gonna need to tweak something. I spent a few hours customizing Neovim with Coc.nvim and were off to go.
It's kinda crazy that Termux on my phone runs smoother than any terminal on my laptop. (TBF it does have more RAM and faster storage!)
It's kinda crazy that Termux on my phone runs smoother than any terminal on my laptop. (TBF it does have more RAM and faster storage!)