Smart breaker board

Good morning,

I want to make my own smart breaker-board. I was thinking to use sonoff switches as interface between the breaker and the applience in order to switch-off all the applience at once (for example turn off all the electricity of the home, or just the kitchen fridge, oven…).

I’m a little concern about this approach mainly in a safety point . I don’t have much knowledge in electricity.

Is there any smart breaker compatible with Home Assistant or any esp compatible breaker or a better way to accomplish this ?.

Thx.