Yes. The Royal Canadian Mounted Police (RCMP) does operate in Quebec. The premise of the question is incorrect.
While Quebec has its own provincial police force—the Sûreté du Québec (SQ)—the RCMP maintains a significant presence in the province for federal policing duties, including:
The RCMP's "C" Division is headquartered in Montreal and covers the entire province. So, Mounties are very much active in Quebec—just not as the primary general-duty police for most residents.