This is one of the weird problems that you wouldn't wish to get.... Did you try the Apple solution - But requires another Mac.
https://support.apple.com/en-au/guide/apple-configurator-2/apdebea5be51/mac
Note: Apple uses reviving and restoring the firmware. There's a distinct difference. If you revive rather than restore, no data will be erased on that Mac.
If you must restore the firmware, that restores firmware on volumes on internal SSD storage, which destroys all existing data on your internal SSD.
Else you could try disabling the T2 and load MacOS from an external drive.
https://support.apple.com/en-au/guide/apple-configurator-2/apdebea5be51/mac
Note: Apple uses reviving and restoring the firmware. There's a distinct difference. If you revive rather than restore, no data will be erased on that Mac.
If you must restore the firmware, that restores firmware on volumes on internal SSD storage, which destroys all existing data on your internal SSD.
Else you could try disabling the T2 and load MacOS from an external drive.