Finoan |
There are some spells that target your animal companion specifically. I don't recommend Final Sacrifice as one of them, but it is available.
You can also cast most other spells on an animal companion if they can also target your allies. You just can't cast self-targeting spells on someone else - including your companions.
As for merging, I am not aware of anything like that for animal companions or other similar companion types. Familiar and Eidolon only.