I assumed a bolt-on replacement would be aligned unless the frame was bent. Certainly I've replaced hangers without a problem. They're not so easy as steel to straighten accurately without the proper tool, though.
Sometimes you can have a hanger alignment that could be improved without knowing it.