Of course, he/she can baptize as long as the mother is not against the baptism. In practice, we can baptize, but the condition is that the parents should consent to the baptism.
If it is against the will of parents, the church does not allow baptizing children against the expressed will of the parents. Only in the case of danger of death, of life, here, yes, we can baptize a child, an infant, or a child, against the will of the parents. In this case only.
Dear visitors of Gloria Dei and all who have already written or who will write a personal message to me. I am grateful for your attention, your kindness, for your spiritual support and especially for your sacrifices and prayers for me. God may reward you!