Thanks to @Tgr, I am now able to create CSS-based backgrounds from my pre-approved repository of images.
But this has me thinking: instead of defining the 605 rules for each banner, and risk slowing down my wiki, could it be possible to pass variables from the template to the relevant CSS rule, so that I do not need to wrestle with $wgForeignFileRepos
?