Hello,
@arvitski.
I believe on Survival there already is an enchantment which gives this effect, it’s called “Glowing” and you can get ahold of it in
/ce (custom enchantments). The books cost EXP, so ... better get slaying mobs/mining!
It’s an enchantment for helmets (like you said), which gives you night-vision as long as the helmet is being worn.
Hope this helps! Have a nice day/night.