To provide reliable connections with extended coverage in NarrowBand-Internet of Things (NB-IoT), a repetition transmission scheme is introduced during both Random Access CHannel (RACH) procedure and data transmission procedure. To avoid the difficulty in replacing the battery for IoT devices, energy harvesting from natural resources is considered to be a promising solution to support energy sustainability of NB-IoT network. In this work, we analyze RACH in the self-powered NB-IoT network taking into account the repeated preamble transmission and collision using stochastic geometry. We model the temporal dynamics of the energy level as a birth-death process, and we derive the energy availability of each IoT device and examine its dependence on the energy storage capacity, the cutoff value, and the repetition value. We also derive the exact expression for the RACH success probability of NB-IoT network under time correlated interference and the energy availability, which is validated under different repetition values via practical packet evolution simulations.