Is it legal to smoke marijuana anywhere in Amsterdam?

No. Amsterdam has areas set aside for various activities and if you leave that area you can be arrested. Having seen the Amsterdam police I wouldn't want to mess with them.