I guess so. But what if the dentist simply doesn’t like your politics? (Interpret this however you like: Democrat/Republican, pro/anti union, pro/anti Ukrainian sovereignty, etc. Suffice it to say, he doesn’t like something you wrote on Facebook.)
And what if that dentist is the only one within 50 miles? Even if it happens to be legal for the dentist to deny you, should it be?
Aside from the narrow question here, my broader point is that “consequences for your actions” is the whole question we should be discussing and I don’t think the term “cancel culture” is that helpful in actually exploring that issue.
If you're a raging asshole, yes.