Is it possible to allow the player to execute Lua scripts in game while playing?

Thanks! Ill look into that and update this thread if this fits my usecase