Assigning Different Materials to an Actor for Player Teams

I’m working on a multiplayer game and trying to assign different material instance to an actor based on the teams of individual players.
My idea is to have two teams of players with each team perceiving a certain object with a different material Any guidance or insights would be appreciated.

Thanks!