How can I use local rotation on objects created with geometry nodes?
Use Point Rotate node with setting Point, Z rotation is what you need:

If you want to rotate in a random angle use Attribute Randomize in vector mode, but keep X and Y equals 0: