If you want to be a perfectionist, yes. Let’s look at full pay deuces wild, for example. Normally the return is 1.00762 and a royal hits once every 45282 hands. That makes the expected profit 45282 × (1.00762 - 1) = 345.05 bet units. For a greater overall expected profit, I recommend using a less aggressive royal strategy to increase the total hands played.
In this case, the profit is maximized by following a strategy based on a royal win of 450. That will lower the actual return to 1.007534 and decrease the royal probability to 1 in 46415, resulting in an expected profit of 46415 ×(1.007534-1) = 349.68. The extra 4.6 bet units may not be worth the bother of learning a different strategy.
To find the optimal target royal value, you can use my video poker calculator, and keep lowering the pay for a royal until the overall return gets as close to 1 as possible. At that point, it is like playing for free until you hit the royal, at which point you get a bonus for the royal. In the full pay deuces wild example, the bonus is 800-450=350.
The situation is not entirely hypothetical. Slot managers have been known to prohibit advantage players from playing video poker, and usually such players get the tap on the shoulder shortly after hitting a royal.