Sounds like that would work for services that send a verification code via SMS and ask you to enter it elsewhere, but not services that demand a reply. Luckily most 2FA is the former, but I've seen the latter with things like verifying flagged credit card transactions (although they have non-SMS alternatives).