As all kinds of smoke may affect your health in some or other ways, smoking weed from a pipe is equally bad as smoking a joint. However, some modern smoking pipes have a filter for quality smoke so that you can get rid of ashes and harmful residue.