I've just add Email OTP from
https://github.com/for-keycloak/email-otp-authenticator, simple just copy to directory where keycloak installed in your env, then setting up things in the keycloak dashboard (Realm-Authentication-Required Actions, Flows, Add Email Auth to each user, modify the page using keycloakify).
Seems working fine.