Hide/Show app by clicking Dock icon

I'd like to recreate the familiar behavior from Linux and Windows. Maybe it's already possible?

Thanks

I would also love that feature!

This would be great!

At the moment i'm using swipes to hide / bring back the app:
2 Finger Swipe Up (Over Dock) -> Activate Currently Hovered App in Dock
Action 2 -> Use Apple Default or Do Nothing
2 Finger Swipe Down (Over Dock) -> Activate Currently Hovered App in Dock
Action 2: Send Keyboard Shortcut Option-H