Well, if your prodinfo is corrupted to the point that you can no longer boot you can use https://github.com/CaramelDunes/prodinfo_gen to fix it.so if its still there, there no way to re-add the same serial on the same switch?
Unbanning or restoring online functionality would require certificates that only Nintendo can generate.
Also, we currently don't have a way of computing the original serial number from hardware fuses, but this is not very important.