If the SD card is corrupt no. You try to create a backup using sudo openhab-cli backup it’s worth trying but I doubt it will work. If it work’s, move the backup to your PC, then install a fresh image on the new SD card and use sudo openhab-cli restore backup /var/lib/openhab2/backups after placing the backup zip in /var/lib/openhab2/backups directory.
FYI: There are way’s to try and fix the SD card but doing so will erase everything on it.