Yes. In most eco-friendly homes they would have a thing like a "soil/dirt/mud wall" and it would warm the house all winter.
Soil both absorbs and retains heat. The length of time soil retains its heat is dependent upon the amount of moisture or water in the soil.
Potting soil
Clayey Soil most retain water.
Clay retains the most water.
soil
Soil both absorbs and retains heat. The length of time soil retains its heat is dependent upon the amount of moisture or water in the soil.
All rock retains heat. Darker rocks such as schist or obsidian are darker and as a result store heat and retain it more efficiently. Sandstone is often lighter and more reflective.
Water retains heat much better than soil, so in general the water will cool slower than the surrounding soil.
Potting soil
mud
organic matter
Sand absorbs and retains heat and can fry the roots of many plants in hot weather if there is too much of it in the soil.
loamy
Clayey Soil most retain water.
Clay retains the most water.
soil
Sand