Compile Module as binary to include in project

Has anyone compiled a module into an *.px4mod and run it along with the PX4 stack without compiling it into the binary? Specifically on a Nuttx embedded target.
Edited

I see that posix builds can run a dynamic module using the “dyn” command.

Is there anything fundamental that are preventing the implementation of *.px4mod on Nuttx targets?