At work is it ok to take off high heels shoes and do ankle exercises at my desk?

Yes. Doing stretching or ankle exercises will not hurt anything. But if your feet are swollen you may have trouble getting your shoes back on.