We have an overridable plugin API for instantiating storage for specific models. However we are not using it consistently throughout the framework.
We need to use this consistently, or we switch to use the new app.get_config_storage and app.get_config_blobstorage API which allows override through configuration instead of code.