No, you e got it backwards. The train contains the bogey which contains the bearing which contains the axle.
My point though is the "bearing failing" is too generic to determine what on it failed.
Sometimes the brakes are fixed to the axle, are they not? In that case it couldn't be the brake.
Think about pulling over as soon as you know you’ve taken a hit to a tire instead of continuing to drive until you’re on nothing but a rim and sparks.