Yes, pendant lights can be used in a bathroom to add style and provide focused lighting. They work well over a freestanding bathtub or a vanity area, but make sure they are rated for bathroom use and are hung at a safe height to avoid moisture damage. Always ensure that the pendant lights are in compliance with local building codes and regulations regarding bathroom lighting and electrical safety.