Short answer - check with any rental companies ahead of time, make sure they know what you're asking so you have no unfortunate surprises.
The first time my then-GF-now-wife and I went to WDW, we had a rental car with Alamo. It so happened that, near the tail end of our trip, a hurricane was brewing. 2 days before we were scheduled to go home, they already let us know that airports AND the parks were going to be closed, too. Seriously, we were tolf to buy groceries, hunker down in our rooms and prepare for some bad stuff.
My better half was worried that we'd get stuck in WDW for an indefinite period of time. Me? I could think of worse places to be stuck
But she was a teacher and afraid of missing the beginning of the school year (the trip was late-Paril-early-September), plus the insanity of the airports once they reopened. So we contacted Alamo and asked them if they'd have an issue with us driving the car to the Philly Airport. I think they were happy to know one of their precious cars wouldn't be stuck in a hurricane :ROFLOL: they said go for it. We told the front desk we'd check early the next morning - I think THEY were relieved they'd have an extra room for extra people (between the people forced to stay longer AND the new vacationers who managed to get to WDW even after being told to stay home, I think they really needed space). Even the airlines didn't give us crap for opting to drive instead of waiting for the airports to reopen. We got up at like 4am on Saturday, the hurricane was about 90 miles off the coast, and still quite severe, but started traveling slower towards shore, like 4-5 miles an hour. We hit the road almost immediately, drove more or less straight through, saw no bad weather aside from some drizzles around Baltimore, and got to the Philly airport around 12:30am, dropped the car off, got picked up by my future inlaws...Disney gave us back enough money to cover TWO days of lodging, we got a refund of our return portion of the plane tickets, and Alamo not only knocked 100 bucks off our rental car, they didn't penalize us for not filling the tank (hey, everything around the airport was closed).
And we've driven to WDW ever since, except our last trip which was part-driving and part Amtrak's Autotrain