Each player in the game has a limited number of available Raid attempts per day. However, you can face a situation where a player Raids your Base over the established limit and sends a lot of consistent attacks. It can be done without any cheats, hacks, and tricks.
The thing is that when you reach the limit of available Raid attempts, you will still be able to Raid other Bases. However, the Raids you send over the limit will be sent as regular attacks. I.e., the troops will attack your opponent's Base and fight with the enemy's troops but will not bring you plundered resources if the Raid is successful.
Multiple successive attacks are considered a normal game process and are not a violation of the regular gameplay rules. You can always protect your Base using the Total Protection item, and defend your Base with your troops, or with reinforcements.