As long as the MX can reach the dashboard, it can be used as an internal firewall. However, I don't think the MX is the optimal choice for this.
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.