Yes, a halberd is a 'melee weapon,' opposed to a ranged weapon. If there is not an issue of clearance, if your archer does have line of sight, and if both opponents are out of range, then I don't see it being a problem. Picture it. Both fighters are standing out of range. They are not actively swing...