Yes, it is safe to have pets in apartments as long as the apartment management allows pets and you are able to provide a safe and comfortable environment for your pet within the apartment. Make sure to follow any guidelines or rules set by the apartment complex regarding pets to ensure a harmonious living arrangement for all residents.