Eating dragon fruit or any other type of fruit at night is perfectly fine and if you're gonna have a late night snack or a snack before bed then eating dragon fruit would be one of the best fruits to eat before bed.
Dragon fruits are full of and a great source of vitamins, minerals, and antioxidants which can help prevent some diseases such as cancer, heart disease etc.
I love to have some dragon fruit at night before bed as a good bed time snack.
I also love to eat bananas or apples before bed at night and they tend to help me get to sleep much better when I'm feeling just a bit hungry but don't need a full meal.
Dragon fruit at night or other fruits fill my stomach up enough to get rid of the hunger so I can sleep.