Definitely, every band I have ever played in has been my type of music.
I’m a weekend warrior and just play as a hobby, I would have zero interest in joining a band that played music I didn’t like.
I totally understand musicians who rely on gigging for a living doing it, as they need the money coming in.