The short answer is NO.
The expression for a long time refers to a period which, from the perspective of the writer/speaker, is lengthy. It is not material whether this period is anticipated (future) or over (past) or continuing (present perfect).
A person "who has been imprisoned for a long time" remains in prison as the length of the time spent there increases.
A person who had been imprisoned for a long time is no longer in prison - either freed or dead - but that period is now in the past.
Alternatively, a writer could construct a story about a prisoner who was still imprisoned, saying: He had been in prison for a long time and was looking forward to his release. Here the writer is looking back on a period in the past and anticipating the future.
A person who has wanted to see a film for a long time is still hoping, after a lengthy period of waiting, to see the film.
A person who had wanted to see a film for a long time is either expecting to see it soon or has possibly seen it since, as illustrated below.
A: He said he had wanted to see the film for many years and that it had fully met his expectations. (He finally saw the movie.)
B: He said that he had wanted to see the film for many years and couldn't wait for the cinema to open. (He is/was looking forward to seeing it.)