Girls, Would you consider it sexist to completely ban any interaction with the opposite sex at work?

By that i mean men and women work in completely different buildings and if the Manager/Ceo is male he can only give his female employees instructions via text
Girls, Would you consider it sexist to completely ban any interaction with the opposite sex at work?
Post Opinion