As long as they satisfy the three necessary conditions for natural selection (variation, heritability, and differential reproductive success), behaviors can evolve just as physical traits can.
401