This is already how it works see Offline media cache, downloads, rolling cache, playback cache, automatic cache and more
You configure the default download quality in the settings, then when you download you can select if you want the transcode or the original.
You should also check all the automated download features (that also support quality choice) to avoid doing things manually.