Yes, you can hike in leggings. Leggings are often a comfortable choice for shorter day hikes or as a layering option. For longer treks and long-distance hikes, a pair of pants that are more comfortable and looser fitting may be beneficial.