In the old days ,yes.
Using the pigs had one big draw back,it was always their intention to find truffles and eat them!
So you had to fight a big hog to get there first.
A dog you can actually train to find truffle scent and then they will alarm you and not eat
the truffle.