This is now available as of WHMCS v7.1 by utilizing the Publish and Send Email. This skips it directly to Published state and emails the customer. There is also a Publish button which does the same, saves the invoice and publishes it, but does not email the customer.

https://docs.whmcs.com/Invoicing#Publishing_an_Invoice