It is a good idea to use backer board under tile in the bathroom because this board protects the wall from moisture. Unless you're using a moisture barrier, you want to install backer board before you place tile. \
However, you should not install this board on top of drywall. This comprises the ventilation and can lead to mold growth and other moisture management problems. \
Moisture-resistant paint and other options can still be used instead. \