Of course not. The IDF aren't civilians. Hezbollah officials, unless they are part of its military sub-organization, are civilians.
A better comparison would be if Hamas pulled off this operation against the members of the Knesset (or, even more comparable, against a specific party like Likud) while they were at home.
A better comparison would be if Hamas pulled off this operation against the members of the Knesset (or, even more comparable, against a specific party like Likud) while they were at home.