The London borough of Barking and Dagenham has approved plans for an affordable housing scheme aimed specifically at artists, and supported by Grayson Perry.