Of course it's allowed. How far have things come that you think you'll get in trouble for replacing a bulb somewhere in the street?
I usually agree, but it's fairly high up, the bulb is probably non standard, and it's not clear how to get the top off. Just slightly more work than I'm willing to put in.