Naah, dreams happen during REM sleep - the most restful part when your brain is re-setting so that you can wake up refreshed. Just don't wake up during a dream - it interrupts the process.
William, I know you are probably tired of me asking this. But did you ever start eating enough? The starvation process goes in the following order:
1.
Body burns fat for fuel.
2. Body starts restricting fuel to various organs and slows down the metabolism to save energy.
3. Body starts
burning muscle for fuel.
4. Body realizes that soon it won't have enough muscle left to move around to gather more food. So it starts restricting fuel to the brain.
A starved brain isn't going to function properly - this includes not resting and "resetting" the neural connections - which happens during REM sleep.