Key pair login

I am no tech so I will ask the gurus here. Would it be possible to develop using a key pair as a way to login to home assistant from the home assistant app.