Not entirely, no. Dreams are the brains way of relieving
stress, showing you memories, thoughts wants and needs. Usually these are harmless or (If you believe the brain Is this strong) Can predict the future, past, present and other circumstances by a massive mathematical analysis, Much like how a computer can simulate battles or fights for someone to watch.