No, a sonnet can be about any subject. A sonnet is defined by its structure rather than its subject.