Traditionally, research is the realm of marketing. That said, the vast majority of said research is directed towards downstream marketing, the selling of existing products/services.
But there are companies out there that practice upstream marketing, discovering the user problems that can be solved by new products/services. You also get to evaluate the many “solutions” with the user until a launch solution is ready.
Just my .02, I find it to be extraordinarily rare that the person who discovers the problems, can solve them, and visa-versa. So don’t get your hopes up in doing both.