When prototyping or developing new model code, yes. If you’re building production ML systems, there’s plenty code to write and test before deploying to prod infrastructure.
To be clear, you would work with a very small data sample or synthetic data as your objective isn’t to train a model for production use.
Edit: clarity and grammar