> I want to build a game that allow players to code in the game, but i do not know is that possible
>
You are probably going to need to provide more information about what you mean. What you have asked is very vague.
I am trying to make a game that allow the players to write code in order to progress the game. i.e. This game is like "code in game". What I want is to let players code in a text box and compile what they coded then give some feedback to them. Simulating what compiler do but using game to present this. BTW the statement that below your answer was really nice. XD