Tiling active app window and hiding other app windows


I have been looking for this feature for a long time. No window managers are providing it yet.

My task is to classically tile two different apps on the screen — split it in two parts, left and right.
This is basic function for all window managers, BUT what I need is to get rid of other windows of the same app. Let me explain.

Imagine that you have two apps, say Notes and Finder. Both of these apps have more than one window opened. If you try to tile Notes window to the left and then switch to Finder to tile its window to the right, Notes will disappear at the moment you switch to Finder. Because in macOS when you switch to the app ALL its windows go to the front.

The challenge is to keep OTHER apps windows at the background or just hide them. That's how Microsoft Windows works from the start.

What do you think? Is it possible to arrange windows my way through BTT?