Declarative project settings - not via REST?

Is there a way to manage project settings - such as disabling issues, the wiki, MR strategies et al - in a declarative fashion?

My challenge is managing a large number of microservices spread over many distinct projects; I want to do this at scale.

I understand that I could manage all of this via the REST API, but I’d rather prefer a configuration-as-code approach.

Any insights on how to approach this appreciated!