Yes, according to this it's a coup and was planned quite some time ago. the document referred to in the article came to light in May:Another Arab dictator?
Rejected an IMF bailout and may default: Tunisia’s Kais Saied Balks at IMF Bailout
Tone of the article is admonishing but seems the deal came with the full IMF package of austerity and cuts.