Yes, McIlroy represented Ireland in the 2020 Tokyo Olympics. Competing on such a prestigious international stage was a significant moment in his career, highlighting his status as one of golf's global ambassadors.