YesSee the TextSymbol class http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/textsymbol.htm