Beginner question- font limitations

I am a graphic designer veering off into the world of UX design. Currently, I´m just beginner learning through courses, so please excuse my lack of knowledge in the field.

My question pertains to the limitation of using only 2 fonts in web design. I wanted to know if it is possible to create a call to action with other font pairings which are not a part of the 2 font limitation by turning them into SVGs.
Ex: a call to action using the fonts: Sign Painter (house script)and Rockwell (regular) turned into SVG.

Is this frowned upon? I have seen some clothing websites which make use of other fonts in images or maybe I am being tricked by variations of the same font. Thanks in advance for your responses!