Does legal positivism (LP) potentially justify any type of law or regime? Does it lead to relativism a best and tyranny at worst?

Does legal positivism (LP) potentially justify any type of law or regime? Does it lead to relativism a best and tyranny at worst?