Can I configure via app_meta data some users to login with OTP and some with passwordless?

Hi, we want to allow users who have access to 2FA devices the ability to use them and for user who do not we want to allow them to signin passwordless. Can you please let me know if this is possible and if so how I would configure my tenant and custom flow login action

Thanks in advance