In the US? Absolutely. There was a very famous someone who just finished up a life sentence, and a quick google turns up https://www.fbi.gov/stats-services/publications/terrorism-20... which has, among others, 40 years for Matthew Hale, 39 years for Sean Michael Gillespie, and life for Ali Al-Timmi and Eric Rudolph.