Configuring a taxonomy argument view
If I understand you correctly:

Use Taxonomy: Term ID as argument.

Write php to get taxonomy term/terms from current node and return them.

Configure this view to display node types you want to display.