Combining Object Into a Symbol in Code?

What I want to do this this: To rotate two objects as if they were one.

Did that make sense? If I rotate the objects separately I also have to keep track of their position in relation to each other, basically I will have to resort to building a “world” with a camera and rotate the camera for this to work.

So, my bright idea was to combine these to objects into a symbol at runtime and then simply .rotate() the symbol instead.

Any idea if this can be done?