Nearly any interior door can be used for the bathroom. Just be wary of materials that can warp or degrade with too much moisture exposure.
Many interior designers and contractors recommend PVC doors over all others for the bathroom. This is because PVC is waterproof and will hold up extremely well to anything your bathroom throws at it!