Yes, an object can have zero displacement even when it has moved through a distance. This happens when final position of the object coincides with its initial position. For example, if a person moves around park and stands on place from where he started then here displacement will be zero.