According to the U.S. Foreign Service Institute, achieving "General Professional Proficiency" in Chinese requires approximately 2,200 hours of study, while for French, it would only take around 600-750 hours for a native English speaker. However, even if you were to put the rest of your life on hold and dedicate yourself entirely to studying Chinese, spending 5 hours practicing each day, it would still take you 88 weeks to reach your desired level of proficiency, according to this data.
From my personal experience, I have not yet encountered anyone who has achieved this level of proficiency in such a short period of time. In my experience and what I have seen from others, in order to pass the HSK 5 test, you would need to study Chinese full-time for about 1.5 years, and it would take at least another year or maybe 1.5 years to reach HSK 6. These estimates assume that you live in a Chinese-speaking environment and study Chinese full-time.
I have met several people who have mastered Chinese in four years, meaning they can talk about complex topics, write business emails in Chinese, and read a newspaper. Most of these individuals have lived in China the entire time, studied Sinology as a major in university, or are married to a Chinese person.
If you're interested in my personal experience learning Mandarin, how I managed to pass the HSK 5 exam and got accepted into a purely Chinese-taught university program at a film school in Beijing, feel free to check out my YouTube video. I talk about the challenges that I faced when studying Mandarin and my experiences living in China.
My Story of Learning Mandarin to Internet Stardom in China: Melina Weber - Journey to the East
https://www.youtube.com/watch?v=cwwpKI8WlLs