If you are ok with using adapters and using manual capabilities on the lenses…there are adapter rings that can adapt the lenses to almost any camera. I did that starting off as a way to save money.
Adapters lots of times don’t transmit lens data to the camera so you can lose features such as image stabilization, autofocus, aperture adjustments, and metadata. Though I believe MD lenses are manual to begin with.