*Full, nationwide bans*? No. But the Soviet Union banned women from many types of driving (as "arduous and hazardous"), such as driving subways, long-haul freight, various kinds of heavy construction machinery, etc. These were inherited and retained post-Soviet states, including Russia, Belarus, and Kazakhstan, though the lists of jobs has dropped over time. Even today, in Belarus (where Lukaschenko talks up the nation's foundational Christian values), under Article 262, women can't drive a firetruck or operate heavy machinery with significant vibration (under the grounds of "safeguarding womens' reproductive health")
Heck, even in the US, up until 2015,, women couldn't drive a tank, an IFV, a mobile artillery piece, operate a submarine (until 2010), or a number of other military roles. And Hegseth wants to reverse the earlier decisions. And Trump also seems to have it in for women as even commercial airline pilots as well.