If going by production order – which Trekkies will tell you, is the only correct order to watch the original series – “The Man Trap” is the show’s fifth episode. The broadcast order (feh) ran first. Either way, a precedent was soon set in “Star Trek,” and audiences would regularly see magical sci-fi creatures whose devices could read the minds of Starfleet officers and express their wishes. In “The Man Trap” (September 8, 1966), Kirk (William Shatner) finds an intruder on his ship in the form of a shapeshifting alien known simply as Creature M-113. This creature is a leech that, as a defense mechanism, can appear different to different people.
In the episode “Shore Leave” (December 29, 1966), the crew of the Enterprise find themselves on a planet that can read their minds and instantly build robots based on whatever they’re on. think about. Kirk thought about a sworn rival. Sulu (George Takei) dreams of a shotgun. Dr. McCoy (De Forest Kelley) dreams of the White Rabbit in “Alice in Wonderland.”
In the episode “Star Trek: The Next Generation”, “Where No One Has Gone Before” (October 26, 1987), the Enterprise is stranded in a remote part of the universe where a mere natural phenomenon, manifests thoughts as reality, and Worf (Michael Dorn) has created a beloved childhood pet. Picard (Patrick Stewart) drinks tea with his deceased mother.
In the “Star Trek: Deep Space Nine” episode “If Wishes Were Horses” (May 17, 1993), station staff find characters like Rumpelstiltskin (Michael Anderson) roaming the station, as well as a doppelgänger of Jadzia Dax (Terry Farrell).
Looks like the wish has come true.
https://www.slashfilm.com/996019/the-5-best-easter-eggs-and-references-in-star-trek-lower-decks-season-3-episode-3/ Lower Decks Season 3, Episode 3