No, it is not ok.
Dogs are not cats. They are sentient creatures who bond deeply to their caretakers. This can be extremely traumatic for a pet.
No one who would do such a thing deserves a pet.
Don’t try to Karenize me. Our former President made this crap a federal crime.