Yes, using game hacks can affect your computer.
If you use a lot of them without really reading what they do, they could mess up your system pretty badly. It's wise to limit how many you use and to read the effects carefully before running anything.
A little caution goes a long way toward keeping your PC safe.