No. Greg Heffley does not give anyone the "Cheese Touch" in the Diary of a Wimpy Kid books.
The Cheese Touch originates from the book The Cheese Touch by T.S. "Tom" Schulman, where it's a contagious curse passed by touching a piece of cheese. It is not part of the Wimpy Kid series.
You might be thinking of a different story or fan fiction that combines these elements.