Hey there @lapzap98, welcome to the community!
It should be possible using the MFA API directly in combination with embedded login via Lock for example, but I am unable to find any samples of the sort. Embedded passwordless login may be another option to look into. However, we definitely encourage the use of Universal Login over embedded if at all possible for reasons outlined here:
Hope this helps!