Its known, its possible to compress complete file systems by useing p.e. btrfs. Also known it`s possible to compress p.e. Ext4 and some other file systems inside a .qcow2 useing VM. See follow:
How to do only a transparent compression on Debian, Ubuntu and Linux Mint on a folder like the follow ?
/home/user/my_folder