Nostr Delegation (nip-26) and Nostr Connect (aka Signer nip-46) solve a very similar problem: interacting safely with Nostr, while your secret key is kept in a secure app.
The Signer way is suitable for occasional signing, while delegated apps can work fully on their own.
The beautiful thing is that you can create a Delegation using a Signer!