That's a very big no, No matter how much attachment you have towards that pet, it shouldn't be valued over the life of another human being like yourself.
It's all shades of wrong, and simply means you see other humans as lesser beings whose lives are worthless than that of your pet.
In my opinion, anybody that values the life of a pet over the life of another human being no matter the circumstances is capable of murder.
In a nutshell, no it's not okay to value the life of your let over that of another human