Yes, a "plugin"-type system would solve the problem.
To get in on par with other Xorg config stuff, it should be able to read system wide configurations provided by the admin, but possibly also enable user specific layouts from their home directory (so i don't have to ask for root permission to reconfigure the keyboard layout when using some elses Linux computer for a day, i can just install my config file in ~/.config/xkb/* or whatever).
I've run into the same problem.
Yes, a "plugin"-type system would solve the problem.
To get in on par with other Xorg config stuff, it should be able to read system wide configurations provided by the admin, but possibly also enable user specific layouts from their home directory (so i don't have to ask for root permission to reconfigure the keyboard layout when using some elses Linux computer for a day, i can just install my config file in ~/.config/xkb/* or whatever).