yes, I use them frequently like this.
Must admit I am still a bit puzzled which badges do or dont show.
I have another set of (python created ) badges and they do show in a card without problem:
the top one isn’t showing, because it isnt created yet. This is a true issue with Lovelace for me still, maybe there’s a setting, I don’t know of.
when a script is run the sensor badge is displayed:
all my custom-ui extra badges and extra data are still missing, I fear that is some incompatibility thing.
so are most of my themed entities. Which is strange again since as you can see, my badges are themed correctly … :-