AC units pull the moisture out of the air as long as you make sure to pan it properly.
Dehumidifiers are basically AC units specifically designed to remove the moisture by heating the air before cooling the air. If you live in the deep south like me, this happens with any window ac and I've had to buy humidifiers to specifically add moisture to the air because the index gets so low.
As long as you make sure the AC unit has a good flow to the outside air (ie don't have the exhaust in the room..) then there is little to no risk.
I've never had a component go bad in the 5 years I've done this, but I guess it is sort of a gamble. Then again it was a jest.