Integration of unreal editor into game and shipment of source code for full modding

Yes, you can. I explain that here: Ship game with Unreal Editor like UEFN for full modding - #7 by bobby459001

And here’s where I explain how you can do that in UE4/5: Home - A Comprehensive Introduction to Unreal Engine Modding