Actually no.HMRC are the prime creditor and always get their money before anyone else ….
It is more nuanced than that, though HMRC are near the top of the pecking order, among the preferential creditors and will be paid before most others.
This is another reference with more detail:
https://www.gov.uk/government/publi...e to,unpaid employees of insolvent businesses.