Is it possible to get a total of all discounts on invoices?

Yes, filter the Invoices screen by Discount Applied > Yes, then export the list to CSV and sum up the Discount column.