Yes. The following script will do just that.
alias away {
if $away {
.nick $mnick
!away
}
else {
.nick $anick
!away $1-
}
}
Usage: /away <reason> or /away (when coming back)
In case you don't know, this is designed to go into the Remotes tab of the Script Editor, which can be accessed by pressing Alt+R