Design without purpose is bad design. But the purpose of a piece of art is not relevant to the quality. Unless this purpose becomes part of the work of art. Only then design and art are the same.