Is it okay to use a humidifier and an air purifier in the same room at the same time?

Is it okay to use a humidifier and an air purifier in the same room at the same time?