I think you can, but you will have a bunch of more basic problems like writing the code and testing.
You must dig in all documentations of the languages and work out some command line build process like for instance in
Java and glue all in one big batch which triggers the others.
This only makes sence in massive projects, but for some home usage I would do it manually, because it is an additional subproject.