This is precisely why all the banks I am with use their own app for 2FA rather than send codes via SMS. Even our government services system (myGov) has an app you can use instead of SMS.
Of course, none of these are completely secure, but it's a significant step up from plaintext SMS.
As an Australian, my government can go for it. None of the tech companies have appreciated the Australian government's attempts to regulate them ~~(e.g. trying to make Google and Meta pay for using our journalism).~~ (edit: not a good example)
That said, we have had idiots in power from time to time that definitely have worked against us, usually arguing the "security over privacy" nonsense (metadata collection laws, encryption backdoor legislation, etc.).