Yes, it is possible to sell invoices, and this is usually called invoice financing, invoice borrowing or invoice purchasing.
The process involves a company selling its outstanding invoices to a third party, which could be a billing company, a financial institution or an investor.
The third party buys the invoices at a discounted price and assumes responsibility for collecting payments from the company's customers.