Well a freestanding tub has no walls to tile and the tile in a shower is not required to extend beyond the shower edge curb or bathtub rim usually defined by a door or a curtain.
Pendant light over freestanding tub.
Lighting above a tub needs to be rated for wet locations.
In many areas a light fixture can only be installed over a tub if the bottom of the fixture will be at least 5 feet above the water s surface when the tub is filled.
It also illustrates the problem many cities and states have with the installation of a chandelier over a tub.
A capital lighting 526161pn 6 light 28 wide chandelier hangs from a carrera marble tiled barrel ceiling over a kohler reve 66 free standing cast iron soaking bath tub with brilliant blanc base matched with a brizo rook deck mounted tub filler trim kit with cross handles.
Typically the bathroom ceiling needs be fairly tall.
This photo shows a fixture that likely hangs lower than that 5 feet.
If not the two main locations they re found are above the vanity and above a tub usually a freestanding tub.
The shower is a secondary area of task lighting.
It should be placed 75 to 80 inches above the floor and like all vanity lighting contain at least 150 watts ideally spread over a fixture that s at least 24 inches long so that the light will wash evenly over the hair and face.
In smaller bathrooms if the stall has a clear.
You need to have a conversation with your electrician about this.