Is there a more detailed document about this part of the data? At present, I am using S32K344, and a lot of data needs to be stored and updated in use. Since internal flash has an erasable life, it is not practical to use internal flash directly, so consider using EEPROM to avoid this problem.
EEPROM emulation is quite well described in following appnote:
https://www.nxp.com/docs/en/application-note/AN4868.pdf
These are written for different devices and there are some differences in used terminology, but the principle is the same.
EEPROM emulation drivers that are part of RTD driver package (FEE driver). It is proven solution and it basically spreads programmed data content over the whole data flash in order to prevent wearing out of particular flash portions. Otherwise endurance limit (number of program/erase cycles) would be early achieved and data content could be damaged.