Possibility to use custom fonts

Hi, is there a way I can use custom fonts on my Touch Bar? ive tried to do it with:

<html><span style="font-family:FONTNAME; color:white; font-size:20px">test</span></html>

but the font doesn't change, I would like to use the "agave Nerd Font", the font is also installed on my Mac.

Is there a way to use any type of custom installed fonts?