Playing gif image in UI Image?

Is it possible to just drag and drop gif to play gif in an image?/

If yes, how do you do it?

Not currently possible, however you can use an external tool to create a Video file from the GIF or you could create a Custom Component that goes through each frame of the GIF uploaded as Assets individually and then change the UI image using the component every frame.