Personally, I do not like mayo so I have not tried this hack. I have several friends that swear by it though. So yes, you can use mayo in place of butter when making grilled cheese.