No, using a VPN is not illegal in the United Kingdom. The UK always supports digital freedom and respects your concerns for privacy. However, it is a part of surveillance organizations such as Five Eyes, which share and keep netizens' data to restrict illegal activities, money laundering, and terrorism. To limit such surveillance over your device, you can use VPN.