No, it is unsafe to use just any portable or space heater in the bathroom. Unless your heater is approved for use in the bathroom, don’t use it in there! Bathroom-safe heaters are built to survive moisture and have special safety features that an ordinary space heater doesn’t have.