At present, I believe this is only possible using the custom frontend component Custom Features for Home Assistant Cards.
I use this alot, and it works well. The developer, Nerwyn, is very active.
There is a discussion thread too, which the developer regularly responds on.