Can this unit be installed on a tub?

Generally, no. The 76” or 80” height is not intended to be installed on top of a tub. And in the case of steel or porcelain tubs, you cannot screw the bottom clip to the tub without damaging the surface.