Yes, you can erase your Mac remotely if you enable the "Find My" feature and mark it as lost.