Apple's Core ML library pre-trained models run really well on M1/M2 laptops and iPad Pros.
You can also import Keras/TensorFlow models, etc.
Apple devices are optimized for inference, not training, so anything where models are pre-trained (but then, what's the point?)
your m1 is a beast of a machine, especially for running pre-trained models. you should be able to run any of the image identification models no problem, and in real time.