I don't think so mainly because the routing node doesn't know the full path. I know you can set ignoreNode in eclair and "exclude" in lightning-cli pay but those are for building a route for your own payment.