Yes, XPS is commonly used in foundation applications because of its ability to resist moisture and maintain its insulating properties when in contact with the ground.