I think it might be possible, and you can install p5py (edit: hm, maybe it's not possible to install packages, not sure), but #Pyodide doesn't currently include all necessary dependencies:
glfw - Not included
numpy Included
Pillow Included
vispy Not included
PyOpenGL-accelerate Not included
PyOpenGL Not included
requests Included
skia-python Not included
@villares: is there a way to run p5py using only Pillow and numpy, without the OpenGL, skia or vispy stuff?