Yes, Isaac Newton had a pet.
Newton owned a Pomeranian dog named Diamond. While Diamond was his only recorded pet, the story of Diamond allegedly destroying Newton's manuscripts on the theory of gravity has been widely circulated. Whether this tale is entirely accurate or an embellished anecdote remains debated among historians. However, the existence of Diamond as Newton's companion is generally accepted.