If the valve has a built in diverter three handle valve this would not be an issue.
Why no pex for tub spout drop.
You need an unrestricted flow out through the tub spout.
There is no stacking issue with the.
Long story short it is unacceptable.
There is no way to secure pex adequately to keep a tub spout from flopping around.
You cannot use pex because the pipe coming out of the valve needs to be able to support the weight of the tub spout and handle the abuse of pulling pushing down of the divirter built into the spout.
Pex when you pull up on the diverter the entire spout moves.
Valve to tub spout tube is.
The tub spout can be copper brass or galvanized pipe.
So it s fine to have 1 2 pex going to the shower head.
Any restrictions cause the water to gently back up as it waits its turn to exit the tub spout.
Shark bite copper shark bite 90 iron pipe pex everywhere else.
2nd reason pex is flexible and the spout relies on the pipe for support.
Copper keeps the spout in place.
With a built in diverter you could use a pex drop eared ninety degree female adapter and a nipple but that is more trouble than it is worth.
Valve drop to spout tube is within the 6 11 inch tolerance.