I have read the book of judas, and let me tell you thats the only book that allows that interpretation. Judas suicide was not part of the plan, true repentance wouldn't allow for suicide. Suicide doesn't show acceptance of forgiveness , therefore no real repentance. So no it wasn't part of the plan. The book of Judas was written in a zealots point of view and as a zealot, you would fall on your sword if you ended up costing your leaders life. The book of judas also pot rays him as wanting to force Jesus hand to act, which is also not accurate