It's tempting to use it but realize you're inviting a high pressure source of water capable of sinking your boat. As in, if anything on board fails the municipal water system will undoubtedly pump water in faster/longer than your pumps can handle.
When I had an inlet I used not just one, but two shut-off valves. One at each end of the hose (boat and connected at the pedestal). Why? Because if someone monkeying around with the pedestal connection, trying to get their own hose working (or whatever) I didn't want to have that risk dumping water into my boat.
Note, brass is not recommended for use on boats. I did have hassles with corrosion on the fittings when using residential-grade garden hose adapters. But then plastic ones have issues with getting brittle from UV exposure. So best be prepared to treat them as seasonal maintenance items.
I did rig up some piping that allowed refilling the tank from the shore inlet. As in, bypassing the pump, back into the tank. This worked well enough, but was something I removed when selling the boat. No sense in having my 'handiwork' turn into someone else's problem (or get a negative note during survey).