Sorry but in my opinion it does make sense: even normal programs do
contain if condition and conditional branches for instance and DO GET
compiled. The purpose of compiling shell scripts is to make them quick
at running and unmodifiable by unexpert users that only need to work
with those programs, without necessarily knwoing what's going on
behind. There are also copyright issues involved: a good reason for
making compiled programs is TO HIDE source code to the user and the
alike.
Also, with shell-scripts that use internal (or external) AMigaDOS commands it is possible to achieve things that would be a lot more complicated to achieve with a dedicated (custom) program written,
for example, in "C". This is because at shell-level we use already-made (AmigaDOS) programs, therefore leaving behind all complexities that would have to be dealt with when writing a custom program that does the same things a shell script does. I have written several shell-scripts, some of which counting several hundreds lines. What these scripts achieve in a few hundreds lines would require thousands of lines of "C" code, not to mention the time required to develop such programs. So, if an AmigaDOS compiler existed, that, in my opinion, would be a great help for the Amiga SW development for particular applications, like mine.