I wonder when you can draw the line with what is sinful and what is not. I mean, the bible says that you should not covet the property of your neighbor or their spouse. So... it's basically all in how you word it. Instead of "I want that tv" you say "I want a tv like it". Instead of "That woman he's married to is awesome, I must have her", you say "That woman is so awesome, I wish I could find a woman just as amazing".
So, to avoid sin, is it how you think sometimes that can make the difference? Maybe.