Chickens can dream (source)! Research has found that chickens experience the REM cycle while sleeping, meaning they are having dreams.
They also have a unique sleep phase that we don’t experience. It’s called unihemispheric slow-wave sleep, where one half of the brain is awake while the other sleeps. This allows them to be alert for predators while still getting rest.