You'll need to prep the surface and repair the crack before any coating is applied. Applying a paint coating would improve the bathtub's appearance.
If this is an older bathtub, it could be coated with lead-based paint so wear appropriate PPE if sanding is necessary. (I suggest wearing long-sleeved gloves, a respirator and disposable overalls. You should apply water while sanding to prevent dust. All the surrounding areas must be cleaned down thoroughly and the cleaning material disposed of).
Correct surface preparation is critical to the success of the painting project. Clean the surface thoroughly with an abrasive cleaning product to remove all transparent body fats and soap deposits on the tub's surface. Pay special attention to the edges against the wall, around taps, plug hole and handles. Rinse off with clean, warm water and repeat as many times as necessary to ensure all build-up is removed from the surface. Take some 120-grit sandpaper and sand the edges of the crack and the areas with small surface cracks. You'll then need to sand the entire surface of the bath thoroughly to remove all shine. Use a fine grade of wet and dry abrasive paper (240 - 320 grit) and pay special attention to difficult-to-reach areas and the plug waste if you plan to paint it. Rinse all surfaces down and allow to dry.
Take some Selleys 50g Aqua Epoxy Putty Knead It and mix it as per instructions. Apply it into the dry crack with a Craftright 50mm Joint Knife. Make sure to push it as deeply as possible into the crack and smooth the surface off with the scraper. Once the putty has fully hardened, you can use the 120-grit sandpaper to remove the excess putty and then 240-grit to smooth, ensuring the area blends in with the surrounding areas. Ultimately, you shouldn't be able to feel the repair by running your fingers over it. Our sense of touch is about the same as sight. So, if you can feel it, you'll see it.
Do one final clean down with White Knight Rust Guard Solvent Cleaner Paint Thinner - 1L before covering any taps and applying White Knight 500ml White Tub And Basin Paint. - MitchellMc
Workshop is a friendly place to learn, get ideas and find inspiration for your home improvement projects