Optimize Mac Storage: Keep local copy AND iCloud backup of directory
No, that is not possible.

You cannot always have a local copy with a backup in iCloud as well as having the same files be eligible for Optimized Storage.

Either the files are permanently stored locally, or they're eligible for Optimized Storage - i.e. only stored in the cloud.