This will just provide the illusion of security
Thanks to heavy optimisation and caches this is incredibly hard to get right. And then there's still Rowhammer and other problems. The only area where this might be usefull is DRM, and that's malware by definition.
If you want security, make sure you're running a minimal amount of software and you control that software.