Dual Sonoff switches

Does anyone know if I can put 2 of the SONOFF Matter Smart Light Switch or the zigbee version in a 2 gang wall box will a standard 2 gang wall plate cover work? I’m not positive that makes sense so here’s the situation. In my kitchen I have a 2 gang wall box that holds 2 individual switches on controls my kitchen lights the other my dining room ceiling fan. What I’d like to do is install 2 of the sonoff smart switches with 3 buttons 2 will control the individual kitchen lights and the third will control them as a group and the 2 second switch will do the same just with a fan and light instead of 2 lights! I don’t care if they’re matter or zigbee versions they both seem to be the same size so I doubt it really matters!