The bigger question is -- will it do any good? I doubt that AI scrapers are reading license agreements to ensure they're allowed to scrape sites, so the first question is -- can you detect license violations?
And the second question is -- if you can detect them, are you in a position to enforce them? If you can't afford to take a violator to court, the terms of the license don't really matter much beyond being sabre-rattling.
See the code completion of the FFmpeg GPL license text in the first video: https://codeium.com/blog/copilot-trains-on-gpl-codeium-does-...