Yes, that would be possible,
is not that its possible, its the way... and its "automatically"
but, there is a way to do it like automatically? Because, whenever is an enemy on screen, the bar is automatically
... when the bullet hit the Enemies family <--- this is a trigger
-----> use "on collision", its a trigger event for that specific enemy.
anyway... I could not solve better without further information, we can help you but to make it that blind its kinda impossible... its better to make a screenshot or even better a capx on drive or dropbox so its simple to see where you are stuck at (this way can be seen your use of family, that can be appropriate or not, etc).
And by the way, the use of the family or container was not originally a prerogative in your question as far as I can see you said:
I tried using container and family ( idk if i used then wrong ), but, I couldn't do what I'm trying.
so based on your words "family" and "container" were two means of reaching your goal...
in further questions, I would suggest you explain the problem much clear so you will get an answer, this about: "can be done like this, but" "it's not the point" it's not polite when someone uses his time sharing knowledge with you... and then we play that we know more than the other, I have no aim to show I know anything better than you or the other guy, I would be glad if you could help me in my questions about something you know better than me...
so less show and more try before answer...
thanks for your time and hope will be useful for the screenshot with an example made in 2 min... if any doubt, don't hesitate in asking. If I understood you correctly this should work for you.