No, it's not unethical. However, I personally do not feel the buyer is getting proper representation when the agent is also representing the seller. If you are the buyer, find your own agent if you can. If you a really uncomfortable with the situation, you could ask the broker for someone else to represent you.
So offices do not allow, as a broker choice, dual agency because the agent can not represent either party to their fullest.