Plumbing codes vary between residential and commercial installations and are generally adopted at the state or local level.
but check local codes to be sure. Placement of the toilet, sink, and tub may depend partly on the existing plumbing. For example, most homes will have a "wet wall," an interior wall thicker than ...