In the UK the change in need has for years (ie even before COVID) driven planning changes so that it's easy to get an OK to convert say an office building into residential. The results definitely vary, between "This is legal but nobody should have to live like this" (e.g. far too much light from floor to ceiling windows in some rooms while others are dark, not enough bathrooms, poor heat and noise insulation) to actually rather nice places to live. Most tend to be rental units for young people, rather than family homes, but it all helps.
Where bureaucrats actually get to just make the decisions at a high level, rather than everything being second guessed by NIMBYs it's just really obvious what you have versus what you need. If you know your city has an inventory of empty mid-size office buildings sat on the market for months, yet apartments within walking distance of the city centre go for crazy money, it's a no brainer to authorise conversions. Whereas if the last office building was snapped up an hour after going on the market, while residential sales are crawling, a conversion from office to residential is nonsense, tell them to go away.