Yes, cheese is high in tryptophan which increases chance of dreaming, and red wine contains alcohol, which is related to causing nightmares
Article called 'Does Cheese Cause Nightmares?'
Does Cheese affect our dreams? The answer is a BIG “yes”. Cheese
contains tryptophan – an amino acid which has been found to lower and
relieve stress and also acts as a mild sedative that induces sleep.
People who eat food high in tryptophan yield a higher dream
recollection rate and more vivid dreams.
Tryptophan on wikipedia
Clinical research has shown mixed results with respect to tryptophan's effectiveness as a sleep aid, especially in normal patients.[20][21][22] Tryptophan has shown some effectiveness for treatment of a variety of other conditions typically associated with low serotonin levels in the brain.[23] In particular, tryptophan has shown some promise as an antidepressant alone[24] and as an "augmenter" of antidepressant drugs.[24][25] However, the reliability of these clinical trials has been questioned because of lack of formal controls and repeatability.[26][27][28] In addition, tryptophan itself may not be useful in the treatment of depression or other serotonin-dependent moods, but may be useful in understanding the chemical pathways that will give new research directions for pharmaceuticals.2
Cheddar cheese contains 0.32g Tryptophan per 100g cheese.2 Cheese, mozzarella, part skim milk, low moisture Tryptophan: 603mg Different types of cheese contains different amounts of it, but overall cheese is high in tryptophan amounts.
1g is enough to show effect.
The weight of evidence indicates that L-tryptophan in doses of 1 g or more produces an increase in rated subjective sleepiness and a decrease in sleep latency (time to sleep).
Good sleep positive dreams
Dr. Servin Díaz notes that when tryptophan is digested through food or beverages, it is converted into the sleep-inducing substances serotonin and melatonin. Together, serotonin and melatonin both help slow down the nervous system, helping the body relax and prepare the body for sleep. People who lack proper sleep suffer from sleepiness, irritability and have shorter attention spans throughout the day.
The effect of tryptophan seems to be fairly well documented. And cheese contains fairly high amounts of tryptophan. This does help to sleep, and tryptophan is remade into melatonin which increases chance of dreaming.
Serotonin (a neurotransmitter), synthesized via tryptophan
hydroxylase. Serotonin, in turn, can be converted to melatonin
(a neurohormone), via N-acetyltransferase and
5-hydroxyindole-O-methyltransferase activities2
So Tryptophan can be turned into melatonin, which then makes you dream more.
Some supplemental melatonin users report an increase in vivid dreaming. Extremely high doses of melatonin (50 mg) dramatically increased REM sleep time and dream activity in people both with and without narcolepsy.[57] It has been suggested that nonpolar (lipid-soluble) indolic hallucinogenic drugs emulate melatonin activity in the awakened state and that both act on the same areas of the brain.[57]
On to the part about alcohol increasing chance of nightmares.
Article called 'Does red wine affect dreams?'
Drinking red wine and other alcohol not only disrupts the second half
of your sleep time, it may cause you to have bad or unusual dreams.
You cannot experience deep quality sleep until the alcohol leaves your
body. Therefore, you may have strange dreams as the alcohol leaves
your body and the REM dream state interferes with the deep sleep state
that the alcohol was preventing.
Paper about alcoholics and nightmare
Summary. - In a sample of 78 female alcohol and drug addicts 24.4% marked True the Item 31("I have nightmares every few nights").
This is for both drug users and alcohol users.
Only 19 women(24.4%) responded True to Item 31. The proportion is similar to that of the proceeding study (2) of male alcoholics(25.6%) and is significant higher than in a representative sample of 147 normal US Midwest women between 30- and 39-yr-old: only 8.2% of the normals indicated having "nightmares every few nights" in respones to Item 31
While alcoholics MIGHT have nightmares of other reasons like post traumatic stress disorder which is a common reason to turn into alcoholics in first place, the number is so much significantly higher, at least as circumstantial evidence it's of interest.
Early Identification of alcohol problems have nightmares as a symptom of high usage of alcohol.
Later on it lists Insomnia and nightmares as indications of alcohol problems.
Alcohol seems to have effect on nightmares, but what about red wine specifically? Red wine will increase risk of nightmares if it's drunk in high amounts, near sleep time, but what about just drinking red wine in moderate amounts?
Except for anecdotal evidence I found nothing proving that.
Eating cheese seems to increase chance of you having dreams, since it contains high amounts of tryptophan, which is an amino acid that is sleep inducing, and increases chance of remember the dreams.
Alcohol seems to increase chance of having a bad dream as the alcohol leaves your body. But mainly if drunk in greater amounts.
This mix means you have higher chance of having a vivid and strong dream, and higher chance of having a nightmare.