Yes, an NRI or a foreign national can be appointed as a director in an Indian Company after obtaining the DIN. However, in the board of the director, there must be atleast one director who is Indian resident.