It is theoretically equivalent to hitting the local HTTP server APIs.
I don’t understand what you exactly want to solve, without knowing actual use cases.
I’m afraid to say no since the benefit is still unclear while it requires quite some work to provide and maintain the headless version.
As a note-taking app, I’d like to focus on improving the editing and viewing experience as I shared in the roadmap here:
I hope you understand the direction.