Can a mother transfer her parental rights to her mother before offering custody to the child's father?

No, if what is meant is, can a biological mother of a child give custodial rights to her mother without the necessity of court procedure and/or the agreement of the biological father.