That was my first thought too. Different stitches such as knits and purls could serve very well as dots and dashes. Maybe that could've been too easily spotted.
That being said, I'm 100% stealing the knitting-as-writing concept for a TTRPG campaign. It's just too cool of an idea to go to waste.