#Xcorp may view it as a violation of their terms (automation) and ban your account. Use at your own risk.
At least in the EU you have a right to delete your own data which overrules any company terms.
This only removes them from your profile, Tweets may still exist in backups and other places.
I wasn't able to get the script to run unsupervised. After some time the timeline stays empty and you have to manually reload the page and run the script again. Currently, I am testing it with a 15 year old account with 19 k Tweets. I had to reload every 500 Tweets on average. After adjusting the script to not hit the rate-limit (50 requests per minute), it should run with less interruptions. But the Xcorp infrastructure is unreliable. #Twitter