This is exactly how they do some bifocals, particularly contact lenses. It's also very relevant to surgical procedures like Lasik.
https://www.aao.org/eye-health/treatments/what-is-monovision...
https://www.aao.org/eye-health/treatments/what-is-monovision...
Quick edit to add I didn't expect that to happen as was pleasantly surprised when I noticed it. For me it happens immediately and automatically, it just works.