2D Animation is out of preview for 2019.3

You can have SpriteRenders on a Canvas with RectTransform. The canvas will then have to be set to world

You can have SpriteRenderers with RectTransform and Canvas.

https://discussions.unity.com/t/725306 page-9#post-5416218

Is this what you are trying to do?