Would you consider recognizing an environment variable "CONTAINERS_CONFIG_DIR" that overrides the parsing of config files/dirs in other directories (/etc/, /usr/, etc..) like registry.conf, policy.json, and registries.conf.d and forces the exclusive reading of config files/dirs that are inside the directory specified by the enviroment variable?
Further reference: containers/podman#14817 (comment) and containers/podman#14817 (comment)