Can I use my dehumidifier in the bathroom?

Not unless it is IPX rated

Generally dehumidifiers are not IPX rated. You must not use it in a bathroom.
Under the  Electrical Safety Standards only electrical products that are IPX rated can be used in a bathroom.
What you can do is place it outside the bathroom (where you are certain that there will be no water splashing onto the dehumifier) with the door opened if you need to remove condensation from the bathroom.
You must ensure that it is placed at a safe proximity from any possible water splash.
All our dehumidifiers are not IPX rated and therefore cannot be used in a bathroom.