I don't think you can do it in a general case, but there's no reason you can't do it whenever you need it.
I do this fairly frequently. Usually when I do this, I also include another way to be able to re-input the values, if I want to change them. The most common way I do this is with a "long key press".
Here's a macro that has the "long key press" in it: