Hello,
It is possible in theory, nonetheless, there is no example for it and you will need to develop it by yourself, also you will need to consider the memory limitation of the chip in relation to your application size as well considering the footprint the stacks.
Regards,
Estephania