I’ve read something around the topic of automatically editing the modification date of a folder, in order to make iCloud have it be locally saved all the time.
Didn’t look into it deeper and not tech savvy enough to do that myself though 
But I could imagine an automator script performing an hourly micro-edit of a file to keep it on local HDD.
I believe on iOS, you can ‘favorite’ a folder to keep it local.