The websites I found indicate that a prescription is required in the UK to purchase a CPAP machine. If you have any alternative links, please do share.
Here is an example of what I found:
> Do I need a prescription to buy a CPAP mask?
> You do need to provide written confirmation of CPAP suitability when ordering a machine, but this is not required for a CPAP mask.