So long as the rear mech has the capacity to cope it won’t be an issue.
It’s not (just) about the capacity of the mech, it’s also about the parallelogram angle. A long cage road mech might have enough capacity, but it has the same angle as a short cage road mech, which is unlikely to be enough to clear a 32T large sprocket – for that you’ll need an MTB mech. This is one of those “it depends” things though, as depending on frame design a road mech might work with a 32 – some have reported getting this working OK if they screw in the B-screw enough – however on my crosser it didn’t. A 34T sprocket almost certainly won’t work with a road mech.