Implicit flow with feature deployments

We are interested in deploying features to a unique domain for testing before merging into a release branch. The domain may look something like feature-a.example.com with an implicit callback to feature-a.example.com/implicit/callback. The issue we are running into is when authenticating oauth2 requires the callback URI to be whitelisted. Is there a convenient API to append Login redirect URIs and Trusted Origins to our configuration or another approach we should consider to allow for this? Thanks.

"redirect_uris": [
    "feature-a.example.com/implicit/callback",
"feature-a.example.com/implicit/callback2",
"feature-a.example.com/implicit/callbackN"
  ],

https://developer.okta.com/docs/api/resources/oauth-clients/#update-client-application

https://developer.okta.com/docs/api/resources/trusted-origins/#create-trusted-origin