"Writers: Apprentices in a craft where no one ever becomes a master." ~Ernest Hemingway
Stephen King's Prime Rule for Writing is, "Write a lot. Read a lot."
To some degree, research is required for every work in progress. The trick is to find it quickly, absorb it, and file it. Don’t let it distract you from writing.
Again, the trick is to not let yourself get distracted—get on, get your business done, and get off.
Whether you choose to publish traditionally or self-publish you will find either choice will take a great deal of time, just in different venues.