Add javascript processing to picture-elements just like button-card

Currently i add custom:button-card elements to picture-elements so that i can process IF statements and reconfigure numbers (round, divided etc) within the [[ javascript ]] brackets.

As picture elements doesnt want to process jinja templates, can we have the ability to process javascript in the same way the custom:button-card works.

I want my picture card to have multiple click points which is why i cant just use button-card
marry these two together to make a super customizable element.