Password vs Passwordless options

Hi! Is there a way to give the user the option to pick either using a password or going passwordless, upon initial sign-up?

I know I can implement this on the backend by assigning groups different ways to login, but I was curious if there’s a way to let the user decide on the frontend?