What you cannot have is a gene that sacrifices itself for the benefit of other genes. What you can have is a gene that makes organisms sacrifice themselves for other organisms under the influence of selfish genes.