Following this tutorial, I tried gyro aiming on my Dualsense controller, which has analog triggers and gyroscopic motion controls. I set gyro to act as mouse, activated by a right trigger soft pull. If you use Steam with a controller I highly recommend this; it gives you almost as much control as a mouse and keyboard! Along with a few other custom rebinds, this gives me a console-ish experience on Minecraft Java :)
I started using gyro on the Steam Deck recently. It is pretty good for fine tuning your aim. I have been playing Overwatch with it and while nowhere near keyboard and mouse, it’s noticeably better than gamepad alone. I can still only play a select few characters with it though.