Newborn hair care help

Is it ok to use coconut oil in my babies hair???