Obviously, I can't speak for how things work at your company, but I wouldn't personally have a problem taking 3 weeks off work.
Other opinions may differ, but I think completing your entire professional pilot training whilst maintaining a full time job would be challenging or at the very least make it take a very long time. Would it be worth discussing part-time working or taking a sabbatical from work?