Yeah I mean that’s totally fine. When I lived in Boston it was much more common to see people rent cars for that purpose, but either way it’s completely okay.
The infrastructure should support that sort of trip out of the city. It’s intra-city car use that’s a disaster, and our infrastructure should not support that.