Nightmares?

Can my 7month old baby have nightmares? She just randomly started crying when asleep and was breathing fast. Then fell back asleep.