More or less. You can use the Device Registration service and make a rule such as if the device is not registered, then no access. What version of Windows do your clients use?
Is that to limit the access to Office 365 workload?
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.