Yes. This happens because water and oil don’t mix.
When a duck is swimming or out in the rain, the duck produces oil from it's pores. With its beak, the duck rubs the oil over its body.
The oil keeps the water from soaking through it's feathers, making the bird waterproof.”