Matthew 5:28 - But I tell you that anyone who looks at a woman lustfully has already committed adultery with her in his heart.
Also, if you take Matthew 25:31-46 and Luke 10:30-35. These sins are sins of inaction. So, it depends on what you mean by committing a sin alone.
Is it possible then, for someone to sin alone?