No, unfortunately not:

    [root@fen-vz-inaspauthoraid-stage /]# yum search realpath
    Loaded plugins: security
    Warning: No matches found for: realpath
    No Matches found

Ubuntu does, but it's optional, so not installed by default. I have seen `cd $(dirname $0) && pwd` used before, and used it myself many times. This [stack overflow answer](http://stackoverflow.com/a/19250873/648162) recommends basically the same thing.