Yes, this was one of the originally envisaged applications. Rapidly deployed walls infilled with material will hold back water to protect homes and businesses.