This has been a solved problem for many years. Many or most larger remote-first employers do. Here's an example from Automattic (https://automattic.com/work-with-us/):
> Home office setup and coworking allowances. Working from a coffee shop? You can use your coworking allowance for the requisite latte!
> If you don’t enjoy working from home 100% of the time, the company will give you up to $250 per month to rent a coworking space. Also, if you don’t want to have a permanent place to attend, you can use that $250 to pay for whatever you drink while you’re working from a coffee or similar places.
> You can get a completely equipped home office on the company. For example, I got an Aeron chair, an Ikea Bekant standing desk & a desktop lamp even before my first official day in the Automattic.
> Home office setup and coworking allowances. Working from a coffee shop? You can use your coworking allowance for the requisite latte!
and from https://javi.blog/2016/01/10/automattic-perks/:
> If you don’t enjoy working from home 100% of the time, the company will give you up to $250 per month to rent a coworking space. Also, if you don’t want to have a permanent place to attend, you can use that $250 to pay for whatever you drink while you’re working from a coffee or similar places.
> You can get a completely equipped home office on the company. For example, I got an Aeron chair, an Ikea Bekant standing desk & a desktop lamp even before my first official day in the Automattic.