Can you fill in shallow water with soil?

I dug a water channel, which I turned out not to need anyway, then I tried to fill it in again. Nope. Is there some trick to it, or is it just not possible?

Normally no there isn’t, so I don’t expect water channels to behave differently if they just convert the tile to shallow water.