It's third party but I did almost exactly this with Tweetbot's mute feature. A lot of political topics can be summarized in a few buzzwords. Twitter tends to be much more focused on positivity and work topics since I've made this change.
You can do this on standard Twitter too, and I do. But it's a game of whack a mole, every few weeks theres another political hot topic that floods the timeline and I have to add another word to the blocklist which is now over 1000 words.
What frustrates me is I know Twitter knows these topics are political, I know they could add a switch to hide it all but I also suspect they don't want to because they consider it important that I hear about what they consider important.
America is not the world but the rest of the world is subjected constantly to events and outrage as if it is the whole world because the people running these platforms only have a very small perspective of what the world is.