As a general rule, grid-based patterns are transposable across all crafts that use them, such as cross-stitch, beading, knitting, and the newer diamond art. But
badly_knitted pointed out that knitting stitches are slightly rectangular, so not all grid-based patterns will work for it unless designed for knitting. But every grid pattern I've seen for knitting has been square!
https://blog.tincanknits.com/2014/06/06/how-to-read-a-knitting-chart/
https://www.fibersprite.com/blog/how-to-modify-colorwork-patterns
This seems like a poor choice in terms of pattern construction. :(
However, it also occurs to me that knit stitches have a limited range of ratio, because they are near-square. The ratio might vary a little based on yarn thickness, but you don't see very tall and skinny stitches. So it should be possible to calculate what that ratio typically is (or perhaps 2-3 versions based on yarn thickness) and then how that affects a pattern. Changing a simple pattern would then be easier, and while changing a complex one might not, you could still calculate how much extra to add in order to cover the intended area (such as a sweater front). I don't have the math skill to do this, but I can see that it is doable.