Works with a plain adapter
Pentax 645 sits 44.17mm further from the sensor than Fujifilm G. You need a 44.17mm adapter, but it can be a plain one — a hollow metal spacer with no glass in it. The lens still reaches infinity focus and nothing is added to the optical path.
Coverage & framing. Both are Medium format, so the lens covers the sensor fully.