Not exactly, but it's not wholly dissimilar either.
From what I understand, the typical reasons in the US to forbid open source contributing include:
- potential problems with trade secrets (the company's or its competitors)
- confusion about copyright ownership (as a company typically claims copyright for work-for-hire, including just about all employee code and a large fraction of contractors' as well, whether on or off the clock)
- avoiding employee distraction
- simply not wanting to subsidize a project that will not make the company more money
- residual FUD about the vague hazards of copyleft, libre, and open source licenses
Most of those apply to some degree to SO, though usually less dramatically so. In particular:
- nobody should be posting any sensitive internals here, as those aren't usually all that helpful for answering the question anyway: replace with an MCVE written for the question
- employees can be distracted by answering random SO questions or performing random SO moderation, but they can also save a lot of time asking questions
- SO is usually a strong asset for software companies, not an unrelated project
- questions and answers on SO are under a copyleft license (but, in the US, are also frequently covered by fair use principles, although admittedly those are frequently quite hairy)
All that to say, depending on a company's situation and the paranoia of its legal department, SO might or might not be forbidden for similar reasons as open-source coding. You really will have to ask.