Sure...seems like quite a few of sidewalk riding threads going on right now.
As long as you're not buzzing by pedestrians at a high speed. But there may be bylaws against sidewalk riding in your area. I would assume the shop owner would know this...but then again he's just worried about his bikes getting totaled in a crash and not necessarily about your safety.