Yup! etcd [0] and hashicorp [1] have Raft libraries for Go. I've written about using the hashicorp one before [2, 3].
[0] https://pkg.go.dev/go.etcd.io/etcd/raft/v3
[1] https://github.com/hashicorp/raft
[2] https://notes.eatonphil.com/distributed-postgres.html
[3] https://notes.eatonphil.com/minimal-key-value-store-with-has...