Not exactly – sudo allows fine-grained command permissions. UAC is all-or-nothing per app session.
In the landscape of Windows 11, UAC is less intrusive than it was in the Vista era, yet it remains the single most critical barrier between a secure workstation and a compromised one. uac windows 11
Here's how UAC works: