Yes, dinosaurs do sleep. The discovery of the fossil of a dinosaur resting with its head over the forearm and trunk and tail wrapped around its body proves that dinosaurs did sleep.