This study said that "a new non-invasive strategy to inhibit early myopia development: keeping the red image plane on a computer screen sharp but low pass filtering the blue" was found to be successful.
More details at: https://www.nature.com/articles/s41598-022-26323-7
I'd be hard-pressed to find a program that does this, though. Anyone have any suggestions? Otherwise, it'd be pretty cool if someone made it. Would be pretty useful.