Provided they align to the correct holes on the CPU socket on a motherboard, and therefore can make contact with the contact points beneath, it'll work just fine.
It's impossible to say though, without seeing the CPU in question. Even pins that are marginally out of allignment, if not straightened out, have the potential to be bent more without due care & attention.