The dam can be built on the foundations of all types of footwear. The base will be a stone, gravel, sand or earth dam is mostly because it is cheaper to use building materials that are in the vicinity of the dam and nearby are the majority. So no need to transport construction materials from the others.