Of course it can, all the way from the mathematics of the chemistry in the dog's brain, expressed mathematically as a lick on the cheek. But perhaps this might well be a hard-wired response over millions of years of evolution. All mammals lick their young when they are born, since then it has become a hardwired response to the emotion of love and affection. Of course it has it's place as a survival mechanism. We rationalize (best guess) our reality, but we are often wrong about that reality. Anil Seth demo of the fake arm clearly demonstrates this. In fact that really answers your question; we have rationalized an omnipotent sentient God, as we did in the very early days when all recurring patterns were assigned the workings of the gods. Note that the physical (mathematical) sciences are responsible for the disappearce and replacement of the gods with mathematical equations.