Legally you can decline any internship offer, signed contract or not. But ethically, going back on your word after formally accepting is questionable without good justification.