I also have often wondered where the expression came from. When I first learned French, the question arose, pie a la mode de quoi? In the case of, e.g., tripes a la mode de Caen (tripe, Caen-style) you know what is what, but we don't know what style the ice cream is. I think your supposition is correct.