OTP Passcode via email

Is it possible to get a One Time Passcode when using the email recovery factor (vs a reset password link)? Using the Okta Auth Swift SDK - iOS.