unclear use case imo - this sacrifices the ergonomics of actual bash scripting, and hides it behind another language
If your script is complex enough to need a higher level language you might as well just switch to python