Dynamic object & 3D rotation

I’m creating a sprite dynamically and want to rotate it (using rotationY[3D]) around the center of the object.

I know you cant change the registration point of an object dynamically so is this even possible? Maybe using Matrix3D?