no, the x_invoice_num cannot use the order number session ID.
The reason for this is the order that the page processes.
First the order is sent to Authorize.net, if it is successful, the order is stored in the database, at this point the order number session is created.
the only unique value that is available at the time the orders sent to authorize.net is the session id.