Normally it would indicate that the preparation for some event was a competition before the 'main' event.
A foot race is a competition.
Getting ready for a major foot race, is a competition within itself.
Native AmE speakers would typically say, "a competition in itself" - not within.
Not a teacher, 53-year-old American.
… and that’s my opinion