No it's not. It's only illegal if you are found guilty of it.
And for that to happen you need to be (a) an effective monopoly, (b) have a negative direct or indirect impact on consumers, (c) large enough for regulators to care about and (d) be in a regulatory environment that priorities this enforcement.