The game's "yarn" includes the products from various plant based fibers, and so isn't limited to actual (animal sourced) yarn. Thus, you can produce it from nettles, hemp, and linen (I might have forgotten some source).
However, it's not a starting material, as nettles first have to be at least partially grown, and then has to go through retting and drying, which takes over a month.