There are many examples of media outlets working for governments as weaponized tools all over the globe and as mouthpieces or instruments of foreign policy or even warfare.
Twitter is just another broadcast tool like most media outlets.
Examples of Twitter being used for US foreign policy goals are legion. Here are some from the Obama era on “regime change“ attempts in Iran with personal involvement and approval of Jack Dorsey: