Of course you can.
- install File Watchers plugin
- open “Preferences->Tools->File Watchers” & Add a new watcher
- set
File Type:Go,Program: the abosolute path ofgofmt,Arguments:-w $FilePath$ - click
OK

Of course you can.
File Type: Go, Program: the abosolute path of gofmt, Arguments: -w $FilePath$OK