There are things you can't legally consent to. You may able to consent to being in a fight, but you generally can't consent to a fight to the death (e.g., a duel). Nor can you generally enter into an agreement to commit fraud, or other illegal activities.