Most of the "29'er" mtb frames have sharp angles and deeply sloping top tubes, to accomodate a long fork and tall tires. I think the seat tubes are usually rather large too for frame stiffness. If a grubee kit fits in there, the plug will likely contact the top tube.
Some large frames with more conventional frame diamonds might work, but I wouldn't like to put a frame mount motor on an aluminum bike. The tubes dent easily and they get vibration cracks.