Good question. My immediate response is "Yes", but it is difficult to quote a specific Law. Under 22.7(e) they are by convention deemed to have "put the ball into their own in-goal" - especially if it is a 'proper' ricochet. I was going to draw a similarity to a kick that touches the opposition - it puts all the kicker's team on-side. But that is an 'intentional' touch (11.3(c)), so no support for this example.
We have to draw a line somewhere on the continuum from a graze, through a ricochet, to an intentional fingertip. By convention any touch is counted - as it may well have altered the course of the ball, even by a smidgen (not defined).