When you have nightmares, your blood pressure will rise, because your mood and heart will change accordingly. Since it is a nightmare, of course, your heart will beat very fast.
But these are temporary, even if you have nightmares all night, it won't have any effect on your body.
I'm just saying that it will cause some discomfort to your mental state today.
After all, it is not practical not to sleep at night.