I have a program that uses different functions for lots of different data pieces.

is it possible to have a database of code and compile and use it only as needed??

or is it possible to have a database of exe files or such and call them from the database?

any advice will be greatly appreciated