This flexibility can exist for office jobs, but customer-facing roles typically need somebody present for the whole shift.
If the customer is a retail customer in the majority of cases you are open extended hours. Your employees either work a 6-2 shift and so have the evening, or they work 2-10 and have all morning. (often they are working a shorter shift).
The final group are doctors/dentists. Every boss knows you need to take an hour off to see them every few months and makes provision. They have to have this anyway because sometimes people are sick, or die over night. Thus if it is critical for the job that you have people you have extra people around to make up slack.