Newborn

Is it okay if my newborn only sleeps for an hour or less and starts crying again because he is already hungry?