I sleep much better if I stop eating after 5 pm.
One of the Keto-Doctors on youtube suggested that you can still eat gouda cheese if you feel seriously hungry, but should avoid sugar and carbs.
If I'm in the mood I drink kefir before bed, a certain kind seems to give me slapstick zombie dreams. If I have cream cheese with a certain gut-flora supplement, I might have space-dreams, where I fly space-crafts.