Yes, it is possible to get a restraining order for online harassment. However, the specific process and requirements for getting a restraining order can vary by jurisdiction, so it's important to consult with a lawyer.