May be not but It's definitely against the company rule. Most company have this rule.
I think that your superiors will definitely not like it. But if you have no other options, it is better to hide it, of course. For example, I also had trouble sleeping and I could fall asleep during the day somewhere in the train car, but after I started taking cbd supplements, my condition improved. I think you should try it, it definitely works effectively. I wish you good luck!