Using cannabis to treat gynecological pain is a popular idea, a national survey has found.