Hooks: Trying to get image from another index

I know this is kinda breaking the index rules - but was curious if there was a way to also query a collection index for it’s image in a collection faceted query. When they select a Collection from the navigation, I want to change out the header