The manufacture of the memory foam mattresses doesn't recommend flipping the mattress over since they say it could mess up the memory foam mattress.
However you could still flip the mattress over to even out the wear and I've done so before with no problems.
You should also rotate the memory foam mattress 180 degrees every so often which also helps to even out the wear of the memory foam mattress.