Yes, you can have period before due date but gap between 2 periods should be of 26-32 days. If a gap between 2 periods is more than 35 days or less than 21 days then it is abnormality and needs treatment after diagnosis by the doctor. Average cycle length can be of 28 days and periods can last for 2-7 days.