Can I customer choose time range instead of exact time?

Hello I have a Question? Can I setup the way that customer while making an appointment book a time range, for example 8-12; 12-4; 4-8, or maybe morning, afternoon, evening.
Thanks