can i install it with the distributor on?

trans and motor together? No. Motor alone? possible, but I wouldn't chance it. Just mark the block and the edge of the distributor when you pull it out. That way it goes back exactly where it was/is.

x2