No, chat codes can only be used in multiplayer mode, where you can communicate with other players.