Using PS Gamepad with QGC indoors

Good afternoon everyone. I’m new to this topic, can you please help: can I connect a regular gamepad (for example, from the PlayStation) and control the drone via QGC via the CUAV P9 communication channel indoors? In other words, use the DualShock + QGC + CUAV P9 bundle indoors (without missions) as a Radiomaster + TBS remote control. That is, I just need to fly up to a small height in the room, which I control with a gamepad. No missions need to be built.