Answer
Yes, a member of the Five Star Movement did serve as the Prime Minister of Italy. Giuseppe Conte, a law professor and political novice, was appointed as the Prime Minister in 2018 as part of a coalition government between the Five Star Movement and the right-wing League party. However, the government collapsed due to disagreements between the coalition partners.