No that's not mechanical work done .
If displacement happens then whatever the direction be the work is done except nπ/2 values of theta
In that case the general formula W=Force×Distance can't be used
Then We have to include theta
Put Ø=90
No work done