According to your description, it is ok for glaucoma patients to wear anti-blue light glasses. But you should be under the guidance of a doctor, pay attention to the protection of your vision and don’t work on the computer for too long or stay up late.
I think that glaucoma patients can wear anti-blue light glasses, you do not have to worry, they will play a role in protecting the eyes from stimulation. But relying on the glasses alone cannot a panacea, and you need to be clear about that.