Converting conventional line of spotlights to smart lights using physical switch

I have a big bunch of conventional dimmable spots in my house, in the kitchen for example there is 20 of them built into the ceiling. It will be very expensive to replace them all with smart lights, and they are also kind of small so I haven’t even been able to find a smart replacement.

Now I thought, maybe I can do something to the switches on the wall, so I can just keep the switch on and then toggle the power like a smart device (maybe even dimming too).

Is this possible to do and can you point me in the direction of some equipment?

Spotlight:

The drive box attached to each spotlight: