I want to give an apartment to my 17-year-old nephew. My mother says she can accept it for him. Is that true?

Yes. Grandparents can accept gifts on behalf of their grandchildren, even if the parents are still alive (Article 935 of the Civil Code).