Whether you can recover data from the SSD depends on the damage condition. It is difficult to recover data from an SSD with severe physical damage. In case the surface of the SSD card is intact and is only destroyed logically, you can try to recover data from it with data recovery software.
First, you should identify how bad the damage to the SSD is. Does the SSD is broken into parts? If it is, you'd better have already backed up the SSD card with Time Machine, iCloud, etc., given that such an SSD is nearly impossible to recover even if you seek help from a data recovery service. And available backups give you a way to retrieve your data.
Read more: How to Use Time Machine on Mac: Backup and Restore Tutorials
Even if the SSD card is physically intact, you could not make sure whether there is circuit or motherboard damage on it. You can connect the SSD to your computer to see whether it could be successfully detected by your devices. If not, send it to a local repair. If luckily, your computer could recognize the SSD, then you can check the data on it.
Read more: How to Fix External SSD not Recognized on Mac?
Your data might be corrupted or inaccessible, it could be the result of physical damage, bad sectors, and logical error on the SSD, then you can try iBoysoft Data Recovery to recover files from SSD. Bear in mind, with the Trim feature enabled on SSD, the deleted files are hard to be recovered. But you could give it a try.
Read more: [Guide] How To Recover Data From MacBook SSD
Whether you are using a Mac or Windows PC, you are covered. iBoysoft provides both macOS and Windows data recovery software. Just download the right version on your computer, connect the SSD, launch the software, select your drive and scan for deleted/lost data, preview recoverable results, and recover the files you want.