You can harden your system using hidepid.
Chapter 4.1: https://www.kernel.org/doc/html/latest/filesystems/proc.html
Chapter 4.1: https://www.kernel.org/doc/html/latest/filesystems/proc.html
(Also, I fear that by setting this flag it will break a lot of tools that expect the flag to be 0)