People do it and it’s perfectly fine.
There is nothing mandating you have to write things in English. It’s often but not always the de facto common languages between foreigners but it’s just a language.
If you read the code of Chinese projects, it’s very often in Chinese for exemple. They don’t really care about English speakers.