Yes, you can compress program files and ProgramData folders. But note that do not compress system file and system drive.