Yes, you can as it's only used to get the request in the correct service, where you can do TEAP (or whatever other authentication method). This is how it looks in my lab ClearPass server:

This service will either be selected with the anonymous identity set to anonymous or to teap. After that, I have computer and user authentication via TEAP. Then if you put your older (PEAP) service below this service, the PEAP request will 'faillthrough' and be handled through that service.
------------------------------
Herman Robers
------------------------
If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check
https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
------------------------------
Original Message:
Sent: Apr 04, 2024 08:43 AM
From: OumarCisse
Subject: EAP-TEAP
If I filter with anonymous, would I still be able to hit the rule and get the user auth and the computer auth.
Original Message:
Sent: Apr 04, 2024 03:13 AM
From: Herman Robers
Subject: EAP-TEAP
As TEAP has a mandatory Anonymous identity these days in Windows 10/11, you can also filter on the anonymous user-name in your service (IETF:User-Name EQUALS anonymous), change anonymous to another name if you changed the anonymous identity.
------------------------------
Herman Robers
------------------------
If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.