I would (and I do) look towards building a small k8s cluster (Ou.can start with 1 machine) and use Intel NUC or similar. Those may even be cheaper than RPIs those days 😉
For the cluster, I suggest lurking around the talos.dev project.
You will do MUCH more with that than with a bunch of RPis.