No, sulfasalazine is not primarily used as a cancer drug. It is primarily prescribed for inflammatory conditions like rheumatoid arthritis and ulcerative colitis. However, it has been studied for its potential anti-cancer effects in some contexts.