Yes, you can cheat in StarCraft II — if you look up cheats for the game, you'll find some available.
Just keep in mind that using cheats is generally restricted to single-player or custom games, so don't expect to pull them off in competitive multiplayer.