Thank you for your question.
HMRC would accept payments from a third party as a payment to clear tax arrears.
Why would you want the third party to settle the arrears?
On a practical note, you are best advised to deposit the third party money into your account and then clear the arrears from those funds.
There will be clear audit trail of movement of funds.
I hope this is helpful and answers your question.