I assume you mean the configuration. And yes these platforms both run the same layer 2 services code so your primary job in this transition will be the interface name changes to move things over to the XE interfaces.
You may want to install the same version of Junos on the new switches before the transition just to reduce the variables in the cut as well. But the configuration should be no issue even if you end up with an upgrade.