A mid way could be self-hosting Supabase, whether you use more or less Supabase features.
I know self-hosting might be challenging, specially getting a production-ready Postgres backend for it.
That's why at StackGres we have built a Runbook [1] and companion blog post [2] to help you run Supabase on Kubernetes. All required components are fully open source, so you are more than welcome to try it and give feedback if you are looking into this alternative.
[1]: https://stackgres.io/doc/latest/runbooks/supabase-stackgres/
[2]: https://stackgres.io/blog/running-supabase-on-top-of-stackgr...
update: edit