was it a part of any movie?
Yes, it was portrayed in "The Right Stuff".
Project Mercury
On film, the program was portrayed in "The Right Stuff", a 1983 adaptation of Tom Wolfe's 1979 book of the same name,
from which profession is frank borman? He is a retired United States Air Force colonel, aeronautical engineer, test pilot, businessman, rancher, and NASA astronaut. do you know the full form of this acronym? National Aeronautics and Space Administration who formed it? UNANSWERABLE of which project was it a part during 1958 to 63? Project Mercury any person from its organization? T. Keith Glennan was any spacecraft used for it? Yes, the  spacecraft was given a name ending with a "7" by its pilot.
wiki:25619334
Project Mercury [SEP] Depictions on film
On film, the program was portrayed in "The Right Stuff", a 1983 adaptation of Tom Wolfe's 1979 book of the same name, together with the HBO miniseries "From the Earth to the Moon" (1998), "Hidden Figures" (2016), and the 2020 Disney+ series "The Right Stuff" which is also based on the Tom Wolfe book.