Yes, you can edit the format of the invoice prefix and change the invoice number in Invoice settings or directly in the draft invoice. Invoices will automatically have incrementing invoice numbers assigned to them based on the last edited draft invoice (e.g. INV-0101, INV-0102).
You can override this with any prefix or number, except for a prefix and number combination that has already been used on a ‘Finalised’ invoice.