A victim can consent to no crimes. The decision of what is and is not a crime is solely the prerogative of the state.
Now, there are some actions that may be criminal if done without permission and not criminal if done with permission - that is not because you have permission to commit a crime; it's because the action is only criminal in the absence of permission. For example, taking someone's property is theft in the absence of permission, it is receiving a gift with permission. Hitting someone is battery without permission, it's a contact sport with permission.
The last example is particularly illustrative. A contact sport has rules (explicit or implicit) about what form of contact is allowed, if you recklessly or intentionally cause harm outside those rules then you have stepped outside the limits of the "not a crime" in into the "crime".
Related: Does a police officer have to get permission to break the law?