You would need some sort of device compliancy check. Not possible to do nativly in the dashboard.
What you could do is configure a radius service, ISE for example to get compliancy status as part of the authz sequense and grant acces based on that.
You could also do SAML to for example Entra ID. There you can controll access by defining policy in Conditional access.
Either way MAC filtering would not be a good solution even if it could be done.
MLL