As Massimo correctly mentioned it cannot be carried out only at TCP level. If you are running your own web server blacklisting the IP definitely is an immediate prevention if the attack it targeted towards your system from an specific IP.
But does it originate always from the same IP and takes certain time? If yes, sounds like an DoS (coming from a single source, standard attack) / DDoS attack (from multiple sources)..you know hackers definitely use IP spoofing to invoke the attack against the targeted device.
While IP spoofing can’t be prevented, measures can be taken to stop spoofed packets from infiltrating a network.
WAF (web app firewall) acts as well like reverse proxy (when putting it between Internet and origin server) and can mitigate a layer DDoS attack.
Network based WAF is more costly than the host-based WAF which can be integrated into app’s software. You can better opt for cloud-based WAF which is the most affordable from already mentioned options.