Sure sure sure. But here's the thing - I don't wash chicken (any meat actually) because I'm trying to wash off bacteria. I wash it to remove debris!!! Cooking will not kill a piece of plastic that was left on, or remove stray feathers, or remove any little bone fragments stuck to the flesh. Therefore it must be washed.
The same thing could be said for any vegetable that you cook. And yet we wash them. Because debris.