It's not possible.
From OSXDaily Where’s the Startup Boot Sound on New iMac & MacBook Pro?
One theory promoted online and originating from some web forums was
that you could re-enable the Mac startup chime sound effect by turning
to the command line. The claim was that by launching Terminal app and
entering the following command syntax: