You can do this today. Just download XCode and go to town. Or use any other programming language supported on OSX like Python, Go, etc. etc.
I used to run a multitude of OSX (xcode developed) applications for beta testing, and while not signed, they were indeed runable.