That is how they made the first digital cameras. Kodak made a back that would fit on a Nikon F3. 1991
You can get cameras that will use the older lens but the adapter devices just don't work good enough.
I tried my daughter’s D800 with some old manual lenses. Worked fine, but way too complicated for her tastes...