Yes, but you cannot create them easily. The Unarchiver or Keka are popular Mac apps that can extract password-protected .7z files.
you want to protect. Right-click and choose 7-Zip > Add to archive... 7zip password protection
7-Zip is one of the most popular and trusted tools for file compression, largely because it offers strong encryption capabilities for free. This guide covers how to password-protect files, how to choose the right settings for maximum security, and how to troubleshoot common issues. Yes, but you cannot create them easily
: