No, you can’t do that. If you wish to disable 2FA, you have to use a backup code after logging into your Discord account. There’s no other way to disable the feature in the app.