Is ti possible to set two parent pages for one child page? And track from which parent pages I did come to the child one?

Is it possible to set two parent pages for one child page? And track from which parent pages I did come to the child one?
Custom page structure for: one child has two parents. Where is important which parent I as user came from to the child.