I seriously doubt that the 9v battery is a viable solution as the current it is able to output before voltage begins to drop is very small compared to AA cells in series.
However it is possible that this could be a way to test that it is working but I would not suggest it. Looking on ebay nice mint copies of the 645 can be had for under $200 with shipping. I would suggest looking for a beater or parts 645 if you can to cannibalize it.
There's also this idea:
Pentax 645 Remote Battery Pack (warmer) w/case RARE!