We investigate the temporal stability analysis of a two-layer flow inside a channel that is driven by pressure. The channel consists of a fluid layer overlying an inhomogeneous and anisotropic porous layer. The flow contains a Couette component due to the movement of the horizontal impermeable upper and lower walls binding the two layers. These walls of the channel move at an identical speed but in opposite directions. The flow dynamics for the porous medium are modelled by the Darcy-Brinkman equations, and the Navier-Stokes equations are employed to describe the motion within the fluid layer. The hydrodynamic instability of infinitesimal disturbance is investigated using Orr-Sommerfeld analysis. The corresponding eigenvalue problem is derived and solved numerically using the Chebyshev polynomial-based spectral collocation method. Results reveal that stability features are strongly affected by the axial and spatial permeability variations of the porous medium. Further, the ratio of the depth of the fluid layer to the porous layer and the strength of the Couette component play a crucial role. The destabilization of the perturbed system is noticed by strengthening the Couette flow component. The combined impact of increasing the anisotropy parameter and depth ratio, decreasing Darcy number, and reducing the inhomogeneity factor stabilizes the system. This facilitates us to have greater control over the instability characteristics of such fluid-porous configuration by suitably adjusting various flow parameters. The outcome will be beneficial in relevant applications for enhancing or suppressing the instability of perturbation waves, as preferable.