It is certainly not an illegal move and you shouldn't really be burning any bridges. Surely they will also have backup candidates they can call in case an offer to you falls through.
However, if you had signed the contract with company X, then got a better offer from company Y and you decide to leave, then you might have burnt some bridges.
Best policy is to be be honest and tell them what's up. They should understand you're trying to maximize your opportunities
However, if you had signed the contract with company X, then got a better offer from company Y and you decide to leave, then you might have burnt some bridges.
Best policy is to be be honest and tell them what's up. They should understand you're trying to maximize your opportunities