On an M1 Mac, If the internal SSD is corrupted, primarily the firmware/recovery partition, you cannot boot the M1 Mac period. The M1 Macs no longer have a firmware/recovery boot in hardware. So, if that partition is corrupted or the SSD itself is dead, the Mac itself is dead. The only exception could possibly be and external USB installer drive. In which case you could possibly reinstall macOS from it and possibly solve the issue.
Other than that, assuming the SSD itself is not dead, it is possible to fix the firmware/recovery partition with a second Mac and Apple Configurator2. It can do a "Revive" which will install the most current firmware/recovery partition. It may also be necessary to do a full Restore which wipes everything from the drive, i.e. all data lis lost.
Also, aside from an Apple Store, there could be an Authorized Apple Service Provider that is closer. Not knowing where you are, you can contact the Apple support number most appropriate for your location her :Contact Apple for support and service - Apple Support to find out if there is one close by.