Of course, if you end up sending all data contextually, you are better suited with a different solution that does not require a server roundtrip like Cedar.
This repo compares differences between the OpenFGA approach and the Cedar approach https://github.com/openfga/openfga-cedar-comparison
Maybe there's a mapping layer that is possible (similar to ETL) that moves it out of code into configuration? But I'm not sure.