Yes, in the UK, debadging cars is perfectly legal. It's worth noting however, that some modifications may invalidate your car’s insurance policy, as you have changed the vehicle’s appearance from what was declared at the time of purchase.