There are several different ways we can accomplish this task. If animating a single object, you can use a Graphic in a GraphicsLayer and just update the 'geometry' and 'symbol' properties of the Graphic (no need to remove and add the Graphic if using a Graphic in a GraphicsLayer). Other things to try out would be to use a FeatureLayer with 'source' Graphics, and use the visualVariables to manipulate the symbol heading, roll, and tilt, and then to update the Graphics you'd use the 'applyEdits()' method.
https://codepen.io/john-grayson/pen/oNbqzEb?editors=0011
We hope this helps.