Earlier quoted context omitted.
I think if you want to get that detailed you'd be pushing a custom managed Firefox profile.
You have twenty different applications using DoH for “increased security” and you need a custom profile for each? Why not a single line in resolv_doh.conf?
At the moment, Mozilla wants to push this for users where DoH just works, for people it doesn't providing options to disable it.
Once resolv_doh.conf becomes a thing for all platforms (Linux, OSX and Windows) they can use that.