Considering that “temptation” is a sin...
Hebrews 4:15- “For we have as high priest, not one who cannot sympathize with our weaknesses, but one who has been tested in all respecs like ourselves, but without sin”. And
1 Peter 2:22 - “He committed no sin, nor was deception found in his mouth”.
The answer is NO.
Temptation is NOT a sin. Temptation is just temptation. Giving in to it is a sin.