The short answer is yes, you can buy weed pipes online legally as long as the online headshop that you purchase from has a disclaimer on their website stating the pipe they sell is for legal use only.