It is a solid yes, especially when dealing with wood-based materials like plywood or OSB. Sealing your subfloor adds an extra layer of protection against moisture and can significantly extend its life.