We've done that. You can rent a car at Disney's car care center (their shuttle can pick you up at your resort) and drive to Miami.
However, I would plan to do it the day before you sail. Traffic was so bad it took us six hours to drive there! We returned the car to the Miami airport and stayed at an airport area hotel with a shuttle bus to get us to their property. The hotel offered a bus to the port the next morning.