Yes. Friendship can also be used in battle, as a Pokémon may dodge an attack or survive a hit that may knock it out (it also inscreases the crit hit ratio.). It also makes Eevee evolve into Sylveon if Eevee also know a fairy type move. Happiness, on the other hand, is used just to evolve Pokémon like, yes, Eevee into Espeon/Umbreon.