Can I create a timer entity from the front-end JS? Not from the UI, but from a card's code

Suppose I’m developing a front-end card written in JS. I need to use a bunch of timers, 4 per user, and it’s a nuisance (and error prone) to make everybody create all of that manually.

I’d like to be able to have my code check if the timers exist, and in case they don’t, to create them. Is this possible? How?

Thanks in advance for any help.

I guess after more than a month it’s ok for me to BUMP this thread?

Thanks in advance for any help!