Yes, but if another mod also modifies the HUD (like a health bar mod), conflicts may occur. Use the Q Button Addon as the lowest priority pack.
Some versions of this addon require "Beta APIs" or "Molang Features" to be toggled ON in your world settings. Is it Safe to Use? Q Button Addon Mcpe Download
F5 and Q Button without Settings Overlay!!! - Texture Pack MCPE 1.21+ Yes, but if another mod also modifies the