There's no law against it, but your local council could take a dim view if they think your repairs are affecting the look of the neighbourhood. If your car is blocking the pavement, your neighbours could also complain to the council. If you live in a terraced house, your car could also be blocking their drive. You might want to think about repairing your car in a garage or on a driveway where it won't cause an obstruction.