The glass in some adapter is all about correcting the focal rays for flange focal distance, and necessary. Optically, if the FFD of the camera is longer than the lens, then it is a relatively easy matter of pushing the lens outwards; however, if the FFD of the camera is shorter than the lens, then you need a glass element to correct the focal rays. Only other option is to "hack" away material from the lens to get it closer to the sensor. Simple laws of optics.
Extract from Pentax K mount - Wikipedia, the free encyclopedia "Only K-mount cameras have the right flange focal distance (45.46mm) to accept old M42 lenses without any optical correction or loss of infinity focus/changed close focus distance. Other SLRs with smaller flange focal distance can also accept M42 lenses with dedicated adapters: Canon EOS (44mm), Olympus 4/3rd (38.67mm), Sony (same mount as Konica-Minolta/Minolta, 44.5mm), Sigma (44mm), and other companies, but significantly not Nikon (46.5mm)."
But then there are also practical problems of the mount interface design which might also force the lens out beyond it FFD, or just render the whole idea as bad.