This reminds me of the python version of this called xonsh https://xon.sh/
I really like the idea, but it was missing some simple features that bash had. I can't recall them right now but after an hour of trying to convert a simple bash script, I gave up. That was a year ago. Maybe things changed.
I'll give this and xonsh a go again because I just really dislike bash. Thanks for the project!