Is it possible to build dgraph from source?

Yes, that’s possible. It’s much the same as building any other Go app from source. You’ll ned to install the Go buildchain, clone the repo, then run go install github.com/dgraph-io/dgraph/cmd/....