They're a good exercise. But there's a great many good exercises, and only so much time and effort you can put into your training. So it's really a question of whether your time is better spent on barbell hip thrusts, whatever exercises you might do in their place, or possibly more work with the main lifts. I know this doesn't really answer the question, but I think it's the way you have to frame your thinking when considering what to include in your training.
So perhaps ask yourself - why barbell hip thrusts instead of GMs, GHRs, back extensions, hyper deadlifts, bent leg back extensions, more work with some squat or deadlift variant, RDLs, reverse hypers, etc? What do they offer that the other exercises don't offer quite so well? And if you have a good answer to that question, then they're something to include, but if you don't have a good answer, then you're probably better off doing something else. And this isn't about just barbell hip thrusts, but any exercise choice.
I don't want to come off as "anti-barbell hip thrust", or anything like that. Just that I think it's important to recognize that while you can find all sorts of articles talking about how excellent on exercise or another is, you can't possibly fit them all in with any regularity. So you need to think critically about what gets included, how often, and with how much effort.
And I still haven't answered the question.