After a fashion.
They just ... stop in the water and stay motionless, I've never checked for how long though. When i come down in the morning, my goldfishis usually 'sleeping' and as soon as he dectects any movement, he 'wakes up' and starts swimming about as usual.
Because they use their swim bladder to control their depth in the bowl or tank, i guess this must work without effort from the fish, otherwise it would simply float to the top, and appear to be dead, so that's how your know your fish is just asleep, and not passed on.