Ok as long as the attic air temperature is higher than the dew point temperature of the air being pumped into the attic. Most summer days is a possibility. Most winter days not so.Is it okay to let the exhaust pipe from a bathroom fan to expel into an unused attic or does it have to go in a hole to the outside?