Static linking C++ game logic

Godot Version

Godot 3.x

Question

I’m looking for a way to write game logic in C++ and have it be statically linked into the engine binary instead of as a .dll via GDNative, mainly to safely load .pck files at the user’s request and ensuring only assets are used from res://*, as well as using a resource workflow(like with Source/Quake/IW/Unreal 2) instead of an in-editor workflow.

Checking docs the only info available is regarding extending the engine, or using GDN for gamelogic (dynamicly linked(bad(in this scenario at least))).

With that said, is there any way to write game logic, as if it were a singleton with GDN, and hook it into the default startup process, like replacing the main scene process?

Thanks in advance.