Walliams is said to have been at the centre of allegations that he harassed female employees at HarperCollins, his publisher.