Yes, it means "good night", to send someone to bed.
In addition, you can also say "mimpi indah", which would mean sweet dreams.
Or, "mimpi baik", which is similar, but less intimate and literally means "dream well/nice"
Or, "tidur nyenyak" which can be sleep well
I'm not too fluent in malay so it's probably better to await better replies.