Once there was a nice app called ThisService which could convert shell scripts into services, but it is not developed anymore.
The modern equivalent is "Run Shell Script" in Shortcuts or maybe Automator. Shortcuts has the advantage that you can use your shortcut directly in Quick Actions in Finder's context menu.
I played around a minute and created this but I'm not a Shortcuts expert.
One insane caveat: For this to work you'll need to grant Finder Full Disc Access in System Settings → Security. Yes, it sounds insane. It is. But it works.
The modern equivalent is "Run Shell Script" in Shortcuts or maybe Automator. Shortcuts has the advantage that you can use your shortcut directly in Quick Actions in Finder's context menu.
I played around a minute and created this but I'm not a Shortcuts expert.
https://www.icloud.com/shortcuts/5898ff4c3f2e49ff8ec6bff4013...
One insane caveat: For this to work you'll need to grant Finder Full Disc Access in System Settings → Security. Yes, it sounds insane. It is. But it works.