Might be tight on length…….although the bellhousing to front pulley is ok the quoted overall length (with coils and water fitting) at 26” is a bit much. Presumably these can be moved?
At top of block height (ie no head) total you’ve got about 22” between bulkhead and front suspension cross tube…….but below this bulkhead slopes off backwards. Looks like the complete Mazda engine height is about same a riley block height. Can’t see width being a problem…….the o/s footwell does go into the engine bay a bit but could easily be trimmed