Repair bottom plate rot in bathroom interior wall
Best to remove the tub as there may be more, but if you can see the rot, and reach it without the removal of the tub, then I would say fix it up. Just make sure to seal the replacement and the area around it just in case the rot does actually go deeper than you can see.