Just to clarify your point for others; SSH private key files can already be encrypted with a passphrase. SSH will then prompt for the passphrase whenever the key is used. The standard SSH agent can optionally keep keys unlocked for a time period.
There's no need to reveal your unencrypted keys to Bitwarden or any other cloud service.