For sure. But just remember that the word choice and the context will matter here. If you are flirting but you aren’t dating a person, there are still gorgeous texts to send your crush, and wish them a lovely evening and sweet dreams.
Sending romantic good night messages for your boyfriend or girlfriend; well, these phrases to use are endless.
Whether it's a few simple words, or whether you are being romantic or playful, it shows that you are thinking of her and care for her.