Actually no, there was an episode where he traps Jerry in a sandwich and is about to eat him
but the sandwich is stolen by some random bird.
Theres one like that on now. But imagine. If he felt him moving around in his mouth (excuse the sexual sounding-ness of that last sentence), he probably wouldn't.
Pretty sure I once saw Tom eat Jerry only for Jerry to start a fire in his stomach coughing him out. There was also an episode where Jerry's magician cousin or brother came visiting, paralyzed Tom and freed a bunch of birds and mice and a goldfish from his stomach, no doubt in my mind he would eat him.
There have been many situations where Tom was about to eat Jerry, or had the chance to. A lot of those times, he rejected doing it, feeling immoral due to the situation.