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

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