Legally there is no restriction on claim an NRI status by visiting Nepal but since there is no requirement of passport for going to nepal and no visa or immigration it would be difficult for you to prove that.
Also by being an NRI only the income earned outside india would not be taxable other than that the income earned in India would still be taxable.
Hope you find the information helpful if you do please rate it 5 and provide your valuable feedback for my improvement.
Thank you.