There are certainly a lot of similarities, and if you read some of the gnostic texts, it is even more similar. However, there are similarities in lots of religions, and the common theme of detachment from earthly things is hardly unique to Buddhism or Christianity.
There isn't a lot of evidence of Buddhism being practiced in the Middle East, and I'm not sure how much trade and interaction with Buddhists was going on at the time, so I'm not sure what kind of opportunity a Nazerene would have to study Buddhism.