at my job, it's part of company culture to praise people publicly whenever they're doing great work. it's a great way of knowing you're on the right path.
Public praise is different than direct management praise. It still shouldn’t be done without consent. Your intention may be good but only effect matters.