Yes. OSHA believes that this would be an unusual circumstance and that leaving this information off the log will rarely be needed. However, if the employer has reason to believe that the employee's name can be identified through this information, these fields can be left blank.
For more information, explore OSHA's Recordkeeping Requirements.