If it's a steel frame, then it should be Ok. Avoid aluminum frames. I would suggest a pocketbike engine so it can fit inside the frame, however you'll need extra wide cranks. A rack mount would also be advisable for a small frame.
Welcome to this motoring thingy and enjoy the build as well as the ride...