I suggest you to go down this route, but replace Android with postmarketOS and make it a Kubernetes cluster:
https://blog.denv.it/posts/pmos-k3s-cluster/
On top of that, pmOS can work with non-mainline Linux, so with the Android kernel, which is somewhat guaranteed to have support for most / all the devices. You shouldn't use it if you care about security though, but that's a different matter