The more usual way to avoid paging is to simply have enough RAM for your needs. My little ZS box has not been restarted in 6 months and it shows zero swap space used.
Not sure what Linux will do if it needs swap and there is none…. You might want to investigate that.
Regarding excessive writes to flash, I’m more concerned about logging and statistics gathering than I am about swap space.