you must rewrite nearby cells after some write cycles
The Adesto data sheet (and actually the data sheets for the same ATxxxx devices, under the Atmel or Microchip brand) document this issue, with some limiting the sector total page write to as little as 10k. But none say anything about "nearby" cells; the affected cell can be anywhere within the same sector.
If you can be sure you always have power, or you have a rock solid power fail detection giving you a margin of > 20ms, then the solution is fairly easy to implement: whenever you write a page, you set a "this sector needs a refresh" flag. That flag can probably be in RAM, because it doesn't really matter if you don't get around to it the 1st time. Or you could have a proper counter in RAM, and when it reaches say 10k, increment a count in FLASH. Then you have an RTOS task which runs when that FLASH write count reaches 5 and which refreshes that whole sector. Or some smarter variation...
The funny thing is that these chips have another 16 bytes per page, which can obviously be used for counters and such, but the data sheet doesn't give you any hint on how to do it intelligently. Have lots of people solved this independently, or maybe nobody bothers? It is quite possible that in most applications one gets away with it, by accident.
FRAM or battery-backed SRAM might perform better for what you're doing
FRAM is expensive, and poorly multi-sourced. Battery backed SRAM is a really big problem because of poor battery options. I have been doing that for decades; the basic problem is that all the batteries which have a long functional life (decades) are primary (and you can get maybe 20 years before they fail into a short circuit), and the rechargeable ones have a poor life. This product has to work for > 20 years. I already have a 0.22F supercap on the RTC (which is inside the 32F417) and that runs for about 3 days which is OK for the application.