FYI, most SSD failures occur due to issues with the SSD's controller, but the controller's health is not being monitored. I have personally seen multiple SSDs write PBs of data before they actually wore out. There was an SSD endurance experiment back in 2013 where they ran a dozen SSDs for 24/7 for a couple of years. Most of them were able to write PBs of data before they failed completely. Here is an archived version of the final concluding article for that SSD endurance experiment since it is no longer on the actual site:
https://web.archive.org/web/20240306055433/https://techreport.com/review/the-ssd-endurance-experiment-theyre-all-dead/
I have several SSDs which have reported SMART errors and have even triggered a "Failed" status, but they are still working just fine. Unfortunately most of the current NVMe based SSDs only report very basic SMART health details which is not sufficient for properly interpreting the health of the SSD. Unless you are nearing PBs of writes, or you see a lot of SMART SSD errors listed, then there should be no problem with the SSD. Even those generic SMART errors may be alleviated possibly with a DFU Firmware Restore which would reset the internal SSD....hard to say if will also reset the SSD to defaults, but that is the only chance we have of trying to fix any generic errors reported by SMART for the M-series SSDs.
@Ian is correct that leaving extra Free space on the drive can help lessen the wear on the SSD....it also can help with SSD performance as well.
SMART health monitoring for SSDs is more about being alerted to changes and looking for any sudden increases which is not easy to do with the Apple SSDs which report only very basic & limited information. SMART health monitoring of Hard Drives is way more useful since apps like DriveDx have a very easy time alerting users to problems very early, but SSDs are different since a change in an SSD's SMART attribute is usually not showing impending decline & doom like it usually is for a Hard Drive. With the Apple SSDs, the generic "errors" attribute is probably the SMART attribute to be most concerned about.