Yes — fearfulness has been shown to be a very heritable trait in dogs, probably because it's a trait that has a lot of survival value for dogs that aren't fortunate
enough to live as protected pets (as well as related
wild canids, like foxes and wolves).