If you deliberately trying to lose, you may not violate the rules, but there is also code of conduct to forbid such an action. It is so in many ball games.
In sports of time, eg swimming, running, other participants are not affected by one's lack of effort. and it is ok to do so? Though I...