Yeah, but I wouldn't do it with anything too expensive/has batteries etc., and you gotta give it a couple days to dry out so nothing shorts inside of it. The rinse cycle is usually fine. You may or may not want to use soap, I usually wash it with dish soap and a brush first then rinse it in the washer.
I would never have dreamed of doing that. :)