No, because if you aren't vaccinated, then "everyone in the store is vaccinated" cannot be true. And if everyone behaved according to the logic you've proposed, then it's possible no one in the store is vaccinated, because each person assumes everyone else will have been vaccinated and believes they are the only one who isn't vaccinated.
Also, not everyone who has been vaccinated will be immune, You can look at the effectiveness data, which has been published for all vaccines in use. Some of them are in the 90s, some are lower. So vaccine coverage has to be as broad as possible to ensure those who do not gain immunity or cannot be vaccinated will be protected. That's herd immunity 101.
What you are proposing is anti-vaxer 101. "Assume everyone but me gets vaccinated and the vaccine is 100% effective forever. Then I can be a free rider and everyone will be fine." This is what loopy hippie parents used to believe, which is why so many of their indigo children got measles and God knows what else.