It may be. Do you know if it ever ran after the last guy worked on it? There may be more wrong with this engine than just that. Typically what breaks cams is running out of oil.

It may be easier to just put a new motor (or one out of an old car) in instead. I'd bet Mazda gas motors would bolt up.