Is ist possible (maybe just with the pro license) to compile a wmp-file to a wmb and load it at runtime?

I like the smooth lighting of block levels but want to create them at runtime (like with models) by script.
So it would be usefull to create a wmp at runtine (in ASCII mode), compile and load it...