In a general sense, yes, games can be modified, but it is important to distinguish harmless tinkering from cheating or breaking the law. Some players customize their own single-player games by editing local game files, for example changing colors or textures using image-editing software.
That kind of personal modding is very different from hacking online games or other players' accounts, which is against the rules and often illegal.
So while experimenting with your own single-player files can be a fun hobby, always respect the boundaries set by the game and its community.