Is there any chance the recurrent lesions are herpes and not warts?
That said, the answer is yes, imiquimod
) can cause irritation and soreness that could mimic herpes, and a secondary infection could cause lymph node enlargement. Tight clothing isn't the issue.
The bottom line is that I can't tell from an online description whether you have herpes, irritation from imiquimod, both, or neither (i.e., something else).