Godot is just code, so it should be possible to use Godot as a static lib. The real question is how hard is it to do so ?
Prepare yourself to go deep in the build system and the source code (entry points) and don't be scared to edit some parts.
If Godot can be embedded in the browser as a WebAssembly, why can't it be built a static library to be used on desktop ?