The challenge is how do you really know if you love doing research, committing to graduate school, before really doing research? It is hard to know how the sausage is made without spending/doing time at a meat-processing plant. My undergraduate experience doing research, including be published, was much different than the graduate experience. And graduate experience was much different than the assistant professor experience.
It took me two trips to grad school to get a PhD. The first on their terms, I burned out. The second, on my terms, was a much better/different experience.
Come to think of it, I had similar whiplash in industry of full-time jobs being far more stressful than my internships, which I now realize were more-or-less “demo versions.”
To make a long story short, after grad school and working as a researcher in industry for nearly a decade before becoming a professor at a community college (where the emphasis is teaching), I learned that I love doing research as a hobby but not as a career, where there are many pressures.