Load unreal project as a dynamic library

Hello all,

Does anyone know if it would be possible to load a project built using unreal engine as a dynamic library in another CPP project? The objective being to load the rendering of the game in a sub window for example. There must be other solutions but as this is a school project I am required to use static libraries.

thank you for your time, I hope one of you will be able to enlighten me :smiley: