I'm guessing that if you are in the faction which has a member you are attacking, it is fine, it will just remove you from the faction, and will invite you again because you are the same ideology, but it also might not.