Not at all—I think his milestone chase did positively impact attendance (I personally made it to his 3000th hit—one of only two games I went to).
However, once that was over, his presence likely had very little impact on attendance. And I suspect he’ll have none in 2023, except for his retirement ceremony.