You can use a 220 V DC or AC permanent magnet brushed motor (100 W/8000 ~ 15,000 rpm) coupled with a 24 V DC motor (100 W/7000 rpm ). The higher the number of turns, the higher the output voltage. but the output, I don't know if the electricity is DC or AC. Generally, AC and DC 0~500V voltmeter cannot detect it. You can use an electrical test pen to detect the charged voltage.
The three images all show a 24 V DC (30 W) motor coupled to a 220 V DC (100 W) motor, and the output voltage is 360 V AC.