It is legal in Scotland and some parts of Dartmoor. However, if you are respectful and use common sense, then it is generally tolerated at other places as well. A car camping awning or rooftop tent will get you a lot of unwanted attention, so I would stay away from these unless you are in a very remote area.