Hi,
nop, and you are right, the best way is to use the get&set position, rotation, scale actions.
getting and setting a component is usually not recommanded because it's very bad for perfs, and here on top of that, you bumped into the one exception in Unity where a Transform is a special Component of a GameObject, it's unfortunate, because it would be great to have a gameobject without transform when they deal only with logic and not actual render or taking part of the physics.
Bye,
Jean