Baby rocking head.

Is it normal if baby rocking his head back and forth to sleep?