No, it is impossible to edit an expense if a payment is linked to it. However, you can modify or delete this payment from the list of payments under the "Expenses" menu. Once the payment linked to the expense is deleted, you can modify the expense according to your needs.