Thanks for the clarification!
Yes, that's a somewhat more realistic scenario than the one Weir used to strand Watney in the first place, and while it's unlikely that there are any large buried seams of water ice near any canyon walls that haven't already sublimated away through cracks in the crust along canyon and chasm walls, it's theoretically possible.
The problem is that, while this could put the MAV in danger and cause the main crew to abandon the surface, it doesn't offer many ways by which Watney could get left behind. Just "lost in the fog" wouldn't likely be as believable.
Also, placing the base camp, and thus the hab, into a scenario where its own solar arrays are blocked pretty badly, you'd reduce Watney's chances of surviving his first couple of months of being stranded.
Honestly, the dangers you point out are things that would likely rule out landings on valley and chasm floors for the first couple of dozen landings. You want to land in places that don't limit your solar power on a regular basis, and just normal morning fogs in canyon floors can predictably limit your solar power for the entire length of a surface mission. Far better, for logistical purposes, to land in higher, flatter land like 50 km from one end of a valley system, and plan long-duration traverses into the valley floor regions. Which doesn't give you many ways you can use to strand Watney on Mars, alas...

I can certainly see why Weir had so many problems finding any other plot devices he could use to accomplish the stranding of Mark Watney, without which he couldn't tell the rest of his story. In fact, Weir actually posted in one of these online fora I participated in at the time, asking about other possible plot devices he could use to strand a guy on Mars, as the one he had thought up wasn't scientifically accurate. No one, of a large group of people like you and me, could come up with a scenario that resulted in Watney being abandoned, with a fully operable hab, on the surface. So, with regrets and apologies, Weir used the non-scientific plot device.
But, hey, good thinking...