Scientists collect semen from macaque masturbation

Scientists can learn much from an animal’s semen. But it’s difficult to collect semen from wild animals. Primate males however, masturbate often, ejaculating on surfaces nearby. Could scientists collect semen there?