Turning the wheel while parked on a hill

If turning the steering wheel to orient the front wheels properly with the curb when the car is not in motion affected the alignment, it seems like every car on the road would have an alignment problem. After all we do this all the time during parking maneuvers. Maybe the concern is about turning the steering until the front wheel is fully against the curb. I suppose that could damage the steering rack or even the power steering pump if you did it forcefully enough. But it isn’t necessary for the wheel to make contact with the curb to just get it in the right orientation.