Is there a way to mirror animations via a script?

I have a question. I’ve seen plugins that are able to mirror animations and save them, but that requires uploading 2 separate versions of said animation. My question is, is it possible to mirror an animation via a script without having to upload a separate mirrored version?

For example, let’s say that we have the camera facing the player on the left and the animation is also facing the left. Now, let’s say that the camera is facing the right, but now, the animation is facing the left. What I’m asking is if there is a way to somehow mirror the animation via a script so that the animation faces the right without the need to create and upload to Roblox a separate animation.

Is it possible to do this?