Ruin never gave Spook Preservation's powers, Hemalurgy just allowed Spook to steal them from someone who already had them, in a mildly corrupted fashion. The source of Hemalurgy-endowed power is the other person's soul, not Ruin or the spikes or anything else.
And while it's true fooling the spiritual codes would work for any magic, the ability to store those codes in a spike is probably Scadrial-specific. If you could store the codes for Breath in a spike, and place it in a magic-altering spot, you could probably steal Breath. (Maybe. I'm still wondering myself if Breath is perhaps the Spiritual Manifestation of Endowment, in which case strange things would happen.)
There is sort of a workaround for this though. I'm pretty sure I recall Brandon saying that to use Allomancy and Feruchemy, you needed the correct spiritual and genetic codes, but to use Hemalurgy you simply had to steal those codes from someone else. That implies that a properly endowed Hemalurgic spike would give power to anyone, including those not from Scadrial.
So to steal Breath, (or something.) You would have to Hemalurgically endow the subject with Scadrial codes, then use a Hemalurgic spike to steal the part of their soul containing their magic, then hope you can implant it right in someone else. Even that might not work, and it might require either an Atium or Lerasium spike to do so.