Previously it was possible. I remember using RSA tokens and with them configure you would enter username, password and RSA token key all in single login page.I think this might depend on 2FA solution so it might not work with all solutions.
Try to split authentication to 2 different servers. So one server is username and password, another is username and 2FA key. Then create user real where you have username+password server as authentication server and username+2FA server as additional server.