This is exactly what Belarus just did. The US and it's allies are now strongly objecting that it's illegal and improper to do exactly what they've previously done.
The idea of mutually agreeing to allow commercial transportation aircraft to transit your airspace is supposed to be that this is not done. It is hugely hypocritical for the US to have used this same tactic, even if done through proxies.