Women generally date up. This is especially common within professions with a high status since it is difficult to meet someone equal/better. View https://www.bloomberg.com/graphics/2016-who-marries-whom/
People generally are poor at reading others and end up pushing too far or getting offended easily (not referring to this case)
What's more likely to happen is what has been highlighted in the "sex partition" - https://www.amazon.com/Sex-Office-Partition-Dividing-Workpla...
Men are more likely to create more barriers to protect themselves and prevent bad optics rather than walk on egg shells around women. This in turn limits opportunities for women (aka glass ceiling).