Is Legalism polytheistic?

Can you answer this question?