Yes, it is generally safe to have pets in apartments as long as you ensure they are well taken care of and that you follow any rules or regulations set by the apartment complex regarding pets. It's important to provide a suitable living environment for your pet and to consider factors such as space, noise levels, and potential allergies of other residents.