Flayn is playable in every Three Houses route unless Byleth sides with Edelgard, in which case Flayn will side with the church over the player character.