Yes. Pornography is addictive—it’s the “crack cocaine” of sexual sin, according to some therapists. Like any addiction or compulsive, self-soothing behavior, looking at pornography and masturbating feels good, so it is tempting to repeat it again and again for all sorts of reasons: stress relief, depression, anxiety, feelings of inferiority, or just plain sexual arousal. Spiritually, lusting and masturbating creates sinful strongholds in our minds. If our sins go unconfessed, Satan can use these strongholds to tempt, accuse, and shame us.
Good thing we belong to the Most High God, a true Warrior (see Exodus 15:3). Nothing is impossible for Him, and nothing is impossible for us through Christ. We know that God’s will is that we avoid sexual immorality, including pornography (see 1 Thess. 4:3). So the battle looks like this: a defeated, fallen angel and his subordinates, the world which he rules as a prince, and our own sinful habits (the flesh) versus the Creator of heaven and earth, His Son the victorious Jesus Christ, and His Holy Spirit as our Counselor. If we remain in Christ, the victory is assured.