I would think the last decade or so of the tech industry would demonstrate otherwise? You could say the same about myriad other startups doing legally questionable things until regulators caught up with them or interest rates got raised. That someone throws piles of money at you and says your worth billions does not make that reality.
Those two things aren’t mutually exclusive. Uber pursued both of these strategies (and lost massive amounts of money while breaking laws), but with a net benefit to their investors by weakening labor protections and other regulations.