As long as you keep the module and pressure angle the same, the gears should be compatible.

Only works in a one-way system, which might be okay, but if bidirectional is a requirement then the other gear would be necessary. I suppose then just create a symmetrical gear. Sorry I'm not a gear-head.