I've often wondered why Discord is the only major platform client that provides an option to play gifs only on mouseover. It's incredibly effective at solving for the problem you describe.
It's possible to stop gifs if the domain framed them with the proper code. Unfortunately many people believe gif = png,jpg and exert zero effort to handle them differently.