Or alternatively, if you have the special cover for the back it will allow the camera to dry fire.
As as for the question about firing without a lens, I think I remember doing that, but I don't have my 645 with me now so I can't confirm it. But if I remember correctly, removing the lens does not make dry firing impossible.