If it’s a 20A radial or 30/32A ring circuit where the socket is not itself a spur then yes it should be ok. If it’s a 4mm radial then again it will be ok if you use 4mm cable to the FCU.
Of course if you are not a CORGI registered boiler installer you will be having the gas, flue and...