There are a ton of Arduino Oscilloscope projects that can be found on the internet. I haven't gone through all of them (or even a small fraction of them), but they mostly appear to use one or more of the analog input pins of various ATmega parts for visualizing 0-5V waveforms with little, or no up-front analog interface parts. I'm thinking about creating a (relatively) small PCB with opto-isolator(s) and op-amp circuitry to safely allow safe visualization of AC voltage and current waveforms.
My preference would be to use a small PIC (such as the PIC12F1572 or similar) incorporating ADC modules and sending serial digital data to an Arduino through 4N35 optoisolators. The use of a PIC doesn't fit within the Arduino culture, though. Another approach would be to do the same thing with a conventional serial ADC chip (such as the MCP3001) and several 4N35-type opto-isolators to send digital data back to the Arduino. This would work, although I'd like to be a bit different, and go for a totally analog approach using an IL-300 opto-isolator and a pair fo opto-isolators. Here the analog signal is fairly faithfully passed through the IL-300, and the design would use the ADC in the Arduino (or Wemos) to digitize the signal. This approach would be a bit more expensive (the IL-300 pricing starts at $4.55/each), but this doesn't matter too much when most of the cost would be in the PCB (at low quantities), the 5V DC-DC convertor and connectors.