That’s good point. The authors of the original papers the “hungry judge” idea also did work on what they call “priming” which would include what you suggest. I don’t know if that has been replicated though.
This is not an example of the priming effect, which describes how one stimulus affects the reaction to a different stimulus, but is simply an example of suggestion for a common stimulus. The priming effect itself has come under fire in recent years for failure to replicate.
Examples of priming include what was studied in the Priming Intelligence study, which primed groups of participants with the idea of either professors or the idea of hooligans, then tested how they performed on an intelligence test. It purported to discover that those primed with the idea of professors performed better. This is an example of a widely discussed priming study that has failed replication.