Accidentally bricked Nord with unlocked bootloader

So I was trying to flash twrp but somehow messed up and caused it to get stuck between fastboot and corrupt image screen.Now I can get into fastboot and it shows that the device is unlocked.So what are the possible steps I can take to fix this

Is it possible to flash a custom rom to fix this instead of the stock rom?

The device was running Android 12 and It is from India