Yes, it is legal: you cannot make anyone sign an agreement against their will--that is, you cannot make them agree to something unless they in fact do agree. That it may have an impact on you is legally irrelevant: the nighbor does not have to accommodate your needs.