You can essentially build a C++ functional base, then dynamically generate all of your hacks on initialization from a central database. It's a cool idea, but the amount of use vs. time taken to build such a thing is questionable. Still be a fun project to play around with.