Both OpenFGA and SpiceDB are also implemented in Go, so they could also easily be included as a library. SpiceDB can even be compiled to WASM!
Having the authorizer integrate based on contract feels like an option which allows for more freedom of choice and variety of implementations.
I do not believe in one size fits all, nor that there is one to rule them all.