Trying to fake engagement in other to be favored by the TikTok algorithm is not illegal. However, it is not an act TikTok would take likely. You would most likely lose your accounts if you are caught doing for. Depending on how much of a threat or damage they think you have caused, you could also a lawsuit.