My guess is that at most companies, employees are prohibited from doing this, but not prevented.