It sounds like you need Bash then :)
I totally agree Bash has some powerful features, some I go out of my way to reimplement in sh (as for example string operations [0]). But not all can ofc be replicated then bash it is.
Maybe then: sh->bash->python/perl
[0] https://gitlab.com/space-sh/string/-/blob/master/Spacefile.s...