These variables are readonly so indeed the plugin you mentioned wouldn't be currently possible. In any case, these variables are derived from the theme file so perhaps the way to go is to allow creating a custom theme from a plugin, which shouldn't be too hard to implement.
Once that's done, it should be possible to dynamically set the values from a config screen (although restarting the app might be necessary, I'm not sure).