We, too, use peanut butter to administer our dog’s pills - and were you aware that peanut butter was used to make the mouth of the horse, Mr. Ed, move like he was talking? Yep, they put peanut butter under his gums to make them move.
My horses do it on their own, but not on command. So, if I needed them to perform for the camera, I’m sure that the peanut butter would have worked.