If it were me I would "rewire/reconfigure" how these switches work.
I know shelly and sonoff mini devices are designed to fit behind light switches, but i use none of mine that way, I prefer having them in the roof, they get better wifi reception and I can run cat 5 down to the switches.
I see no reason you cant have 2 "dimmer style" switches connected in parallel to a single shelly for 2 way switching, as long as the shelly is configure for One Button mode, the changes of both being in the "closed"pressed" state at the same time is very low and shouldnt have an effect either way, as they are closing the same circuit.
A modified connection diagram as for clarification
View attachment 1303344