Of course! You can just plan the plumbing diagram and use two toilets using the same drain. However, it is necessary to use the pipe stack in order to connect these lavatories. Also, be sure the stacks are not similar in look meaning they need to have opposite sides.