You need to be in the US to apply for AOS, and you cannot enter on a tourist visa with intent to apply for a green card. So yes then montreal could deny your visa as you would have carried out immigration fraud.
Also if you stay over 6 months on a tourist visa you will also be in the US illegally and also increasing the chance montreal would deny your green card.