I came up across many words wich are written in kanji but were written in hiragana instead. especially when texting with people. Some examples I encountered are 良い(いい)、何で(なんで)、何(なに) etc.
I also found this example sentence in WK
Is there a reason why かみ and ぼくaren’t written in in Kanji?