Yes, a bit of foresight is required, but I think if the US had been gearing up since the 1790s for an invasion of Canada it would be able to take over in the mid-1810s, if the scenario is coupled with a grand Napoleonic victory in Europe.There also isn't the slightest chance of the US having the military power to take Canada in the war of 1812 but that's another issue.