How did a foam cannon

Hello
Is it possible to make a snow foam cannon like MTM HYDRO MAGNUM 28 Foam cannon or other ?

Thanks ! :)