Plenty of people do. Also not unusual to see sunken yachts at town quays. I often see pulled crossed anchors at town quays so I wouldn't leave mine there unattended during the busy morning departure period.
Guardianage for a small cost is available some places.
Mooring or good
anchor out would be safer than town Quay IMHO.