Palantir's software stack is not really that complex, and their FDE workforce is famously... undereducated. Canada should be able to pull it off, there's much to improve on.
You overestimate the willingness of Canadian software engineer employers to pay anything beyond peanuts.
Any competent developer already immediately flees to the US to triple their take-home pay at first chance and Canadian employers are fully aware of this.
If that's true then why hasn't Canada managed to produce a credible competitor already? What are they missing? Will the opportunity to win domestic government contracts change that situation or are there other obstacles?