Vicariously: In a way that is experienced in the imagination through the actions of another person.
Examples:
1) "she was living vicariously through her children"
2) “Evidence suggests that personalizing modeled experiences is more vicariously arousing than perspective-taking.”
3) “A closely related principle is that constitutional rights are personal and may not be asserted vicariously.”
Hope that helps :)