If a non listing agent shows me a house and I choose to not use a realtor, can I still purchase that house without that realtor getting commission?
I'm assuming you don't have any written buyer-agency contract with the one who showed you the house.
When the house is sold, commission will be paid by the seller, and how it is divided among agents need not be your concern, nor will you control it. It would be a matter between the listing agent and the one who introduced you to the property. Without knowing more of the circumstances, there's no way I can say how it would come out.