The site does not allow any kind of blocking based on actual or self chosen flags.
https://www.chess.com/article/view/on-the-invasion-of-ukraine
Other than what is in that article, this type of discussion isn't allowed in the forums, due to its political nature.
I find it a bit unfair how we have to play against Israeli players seeing the state of the world atm… why did the russian players get their flag banned but not israelis? Makes us feel uncomfortable. This is not a sport in goodwill. Chess . Com keeps removing my posts and i feel this has politicised the app too much.