That's what passkeys do, but the experience of using them kinda sucks overall.
If you're using security keys, you need 2 of them at a minimum to avoid being locked out of accounts. If you use e.g. an iPhone as the key, then you can sync them between your other Apple devices, but not export them to a Google device, you need to create a new passkey on the Google side for each site if you ever switch brands.