I tried this a few years ago when I was younger and more optimistic. But man it was not a great experience.
Having said that I think there is still room for modern shells which are easier to script in. For a while I am using fish and thought scripting would be at least as easy and straightforward as using lua. But the syntax is really awkward. For example comparing two variables needs to be put in a
math "2 + 2"
Urg.