Yes, I'm sure they can sleep.

I've gotten very close to very skittish water snakes (Nerodia) that darted when I touched them. Other than that, I've seen snakes that all of a sudden start shaking their head when they're uncovered.

Later, Matt