Often not approved.
Because only the airways themselves are civilian airspace, so diversion off track means coordination with military ATC will be necessary.
The trick is to tell them you'll be holding on the airway, waiting for their clearance to avoid weather.
Either they provide it or eventually the cell will move off the airway...