Yeah, that's how it's done :) I stocked up on troops in my home castle. Ran to the neighboring castle. Dropped off the troops. Bought a NEW hero. Gave him the artifacts. Picked up the troops. Went further. What's wrong with that?
If I'm not mistaken, artifacts like the compass and boots work if the hero "spent the night" with them, whether in a castle or in the field.