mgear
2
possible, but not in all platforms,
alternatives
can use custom scripting like MiniScript: lightweight scripting language for your game
theres also Lua and Python interpreters
GitHub - Tencent/xLua: xLua is a lua programming solution for C# ( Unity, .Net, Mono) , it supports android, ios, windows, linux, osx, etc.
http://www.moonsharp.org/
or inspiration from how other unity games do it, (cities skylines, turbo dismount, my summer car, …)