roman tub faucet in a condo

I am doing a bathroom renovation in a condo and the owner would like to update the faucet on the soaker tub. In the old faucet, everything was copper sweated right to the valve and copper between the valves and the spout. Is it code to have EVERYTHING done in copper with no flex tubes to reduce the chances of a leak?

The new roman faucets out there all seem to come with braided supply tubs between the shut offs and the spout.

Can I just cut out the out faucet, install new shut offs and use braided supply tubes the rest of the way? I was wondering since ABS can't be used in a condo, do they have similar regulations about the use of flex tubes as opposed to solid copper?
View attachment 19394

Many valves come setup to either solder the pipe into the valve, or screw a female fitting onto it. It's much more robust to solder a pipe in...it also helps to stabilize the parts it connects where a hose would rely on just the nut clamping it to the tub.