There is no problem with doing that in principle, as long as the cable is protected and the run is less than about 100m.
There is no problem with doing that in principle, as long as the cable is protected and the run is less than about 100m.