Yes most Nostr clients provide that option but it's not advisable. That's why we have nsecBunker and spring browser that provides login using browser extension.