Or just write down the TOTP seed on paper backups instead of backup codes.
Works for google (should!) but man there are some platforms that don’t expose the Totp code, or let you redisplay it! Sometimes they make you remove the old one before you can make a new one, too.
Instagram has them too.