For what it's worth Windows has (had? don't know about Windows 11) both of these, but they're either buried in the registry or need Microsoft PowerToys to enable.
I did manage to enable follow focus a while ago, but it didn't behave as I was used to (I don't remember the details), so I disabled it.
For what it's worth Windows has (had? don't know about Windows 11) both of these, but they're either buried in the registry or need Microsoft PowerToys to enable.