66 Dodge Dart GT- Deep Sixing Slant 6 and Automatic for late model 5.7 or 5.9

Is there any sort of fitment guide for installing a hemi into an A body? I understand certain years had smaller engine compartments than others? Are there some ew hemi engines that are simply too big for an a body?