Shelly/Sonoff good for such switches?

Hi all,

I have at home a wall switch like this that is not in use right now.

Do you know if I can attach it to a “smart” switch behind it? Somehting like a Shelly or a Sonoff? I’m really wondering if such smart switches are able to accommodate 4 different inputs?