This is a valid design. But if you have at least /29 networks from the ISPs, you can easily connect both MXes to both ISPs. And the switch-ports that connect the MXes are not allowed to have any STP-Guard as you rely on STP to block two of the ports.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.