Labor market conditions are very clear.
Is there any sucessful case history of this?
Again an offer letter is not a contract. After you start working your employer can change the terms of your employment, whether it is a month or a year later makes no legal difference for an at will employee-employer situation. Similarly you are free to quit your job after a month or a year without being sued by your former employer in either case. At will employment means the terms of employment are continuously negotiable. However, I believe in some US jurisdictions, if your employer cuts your pay or requires you to work in a new location you may be eligible for unemployment compensation in some cases if you quit. That is about it.
This idea that highly paid programmers could sue their employers if they require them to show up at the office seems ridiculous to me. Unless you are an independent contractor you do not get to decide the terms of your employment. You are always free to quit and get another job though.
Employers know that remote is appealing to devs, so they're eager to claim they're remote employers. As folks elsewhere have said, read the fine print and get commitments in writing if needed.
I'm not sure it really matters. As I can always walk if they require me to come in to the office, but the company has been mostly remote for years and the team is all over the country.