Praise be to Allah.
I put this question to our shaykh, ‘Abd ar-Rahmaan al-Barraak (may Allah preserve him), and he said:
Writing the name of Allah on food is a kind of disrespect, because it is done by way of extravagance and for amusement, and this is contrary to the respect that is due to the name of Allah, may He be exalted. Similarly, cutting it up to be eaten is also a kind of disrespect.
And Allah knows best.