Yes, you can route PTP.
But, if the switch supports PTP Boundary Clock Mode, it acts as a clock itself and does not need to route PTP.
In short, enable on the interfaces you need it on, regardless of network topology (vendor implementation dependent)