Is a word form defined solely by its grapheme sequence? Can two lexemes have a shared word form?

If one lexeme has a word form “goes”, and another lexeme has a word form “goes”, are those two word forms considered by linguists to be the same? In other words, is a word form defined solely by its grapheme sequence? Or is it also defined by its relation to a particular lexeme?

All topic