Is asking your one question while doing an action an answer to the two doors, two guards puzzle? Example: You ask your one question by moving towards any door. Only the true guard will continue to stop you no matter what you do. The fake guard would be powerless to act, as they could only pretend not participate.
Let me check that I'm understanding the question correctly, because its phrasing isn't entirely clear.
You're asking about questions that say things like: "You're trapped in a room. There are two doors. One leads to safety, one to a slippery slide down to a vat of flaming acid full of flaming-acid-resistant piranhas. There's a guard posted at each door. One guard always tells the truth except on Thursdays. The other guard always lies, except when the question is about days of the week. You are allowed to ask one guard one question, no more than five words long. Then they will let you pick a door and leave. What question do you ask?".
And you want to know: Is it a good solution to such a question if I bypass all the logical shenanigans and instead do something that will predictably make the guards respond in a way that lets me tell which is the correct door?
(It's not obvious to me whether you have a specific question of this type in mind, or whether you're proposing a general strategy for answer lots of such questions. The answer below applies either way.)
If that's the question, then the answer is: No, it is not a good solution, just as if someone shows you a chess puzzle -- white to play and mate in three moves -- it is no good saying "I would just shoot my opponent dead".
The point of these puzzles is to figure out a logical solution. If you don't want to do that, that's fine -- different people enjoy different things -- but the sort of cheaty answer you describe misses the whole point of this kind of question.
There are "lateral thinking" puzzles where the whole point actually is to spot some obvious and reasonable assumption that you don't actually have to make. Some of them are good puzzles, some not so good. (They can devolve into non-puzzles where what you're really trying to do is guess what silly "solution" the creator had in mind. Or they can just have too many lateral-thinking solutions.) But if you're asked a puzzle of this sort, then unless there's something in how it's asked that suggests you're meant to be breaking the obvious rules, the idea is to work out the logical tangle involved, and it's unlikely that a cheaty answer will bring you either the approval of whoever asked the question or any intellectual satisfaction of your own.
(Also, I would think that cheaty answers to this kind of question would usually rely on assumptions at least as dubious as the ones they're "cleverly" breaking. You've got a puzzle with one real guard and one fake guard, and your idea is to try a door and see which guard tries to stop you? Maybe the fake guard really cares about not having his fake-ness exposed. Maybe the real guard is a bit slow on the uptake. Maybe they both noticed that you picked the acid-piranha-slide door and are happy to let you kill yourself. Etc.)