Answer
No, Sophie Wilmès was not Prime Minister during any general elections in Belgium. She served as Prime Minister from 2019 to 2020, but there were no general elections held during her tenure. General elections in Belgium are typically held every four or five years, and the most recent one was held in May 2019, prior to Sophie Wilmès's appointment as Prime Minister.