To do it properly, focal length, parallax and focal distance (for coverage) should be accounted for. Parallax is pretty independent of the focal length, film coverage however, is strongly dependent on what lens you use (wide lenses are much less sensitive than long lenses). I.e., for the same lens, the frameline needs to be larger when you focus at infinity, and smaller when you focus close up.
Focal length could be communicated to the camera manually or via coding of the mount. Focal distance is harder since it changes depending on the photo.
IF you had an autofocus body (that knows about focal distance), and automatic or manual lens selection, it would be possible.
Either via a mechanically moving frameline with some micro computer control, or via an LCD frameline projected into the viewer. I believe we will see the latter sooner or later.
Roland.