Yes, that's literally what a signals intelligence service is about.
> But then publicly the USA point fingers at Huawei or Chinese government from doing the same.
Uh, yeah, countries have always done espionage and punished espionage committed against them, and, particularly, vilified entities that are overtly something other than an intelligence service that are caught acting as an agent of hostile intelligence services.
> If the NSA is doing it, why wouldn't any Middle East country be able to hack other citizens/companies/governments?
They are clearly able to do it.