No. It must be in C.
Also, in response to your PM, I've now realized that size isn't really the issue, as only referenced symbols from the plugin library will be copied into the final binary. The main issue is first supporting multi-file plugin libraries in the build system. There is also the fact that I need to work around a "hack" that I needed to get SDL to compile for the UI sim.