You already can ^^ Hover your mouse over their head (don’t click) and move it left and right.
On android, it’s a little un-intuitive at the moment; touch and hold above their head (don’t pick them up), then slide your finger down over them, and drag left and right quickly all without lifting your finger (it will move the screen too, but it will pet them!)