Is it possible to add an animation flash to my android studio project?
Long answer short:
As far as I know no.
Why?
Because there are more performant ways you can do this on Android.
You have different other options you can investigate further if you want some nice animations in your app.
One is to make a Custom View extending either View or ViewGroup where you have all the liberty you want to draw on a Canvas.
Another popular approach nowadays is to use AnimatedVectorDrawable.
You can use a relatively 'simple' vector animation and have it up and running in no time.
You can use this AndroidIconAnimator which is an online tool which will help you a lot if you use this approach.
You can check out this post for a 'tutorial' on how to use this tool.
And last but certainly not least I would recommend taking a look at Facebook's tool for animations KeyFrames I personally haven't used this one, but it looks very promising.
It comes as close to your question as possible.
This tool allows you to export an Adobe After Effects project into a running animation on your phone.
They used it internally for their reactions/emoticons.