Technically yes. But a conscience decision was made to do it this way because there was not other practical option.
The reason "S" traps are prohibited is because they can be sucked dry by the outflow of a large volume of water. As close as the vent pipe is to the trap that will ever happen in this case