Yes, you may. A person is under no obligation to live anything to his or her grandchildren and, more  generally, may choose whom to designate  as a beneficiary in his or her will. So long as the will is valid--i.e. meets all procedural requirements--you can leave everything to your daugher.