I would not recommend this. The
H1 tag is designed to be a text headline.
Making your H1 an SVG will not have a positive impact for SEO.
H1: "Primary Headline" with your target keyword somewhere within it will have a positive impact for SEO.
To get the best results, use natural language in your headline including related/synonymous variants of your primary keyword (which you should use in your
<meta name="description" content="Description of page" />