Yes, a father can get custody of a child in certain cases. Example; if the wife is of unstable mind, wife wilfully gives up the custody, if the child is above the age of 13 and expresses his/her desire to reside with the father, etc.